Log in to follow, share, and participate in this community.
Thread JSFUnit and CDI Context
JSFUnit and CDI Contextenv: jsf unit 2.0.0.Beta2, arq 1.0.0.CR7, jboss as 7.0.2.Final I have a CDI request scope bean which is injected and altered in one of my JSF PhaseListener on the server side. I use the Inject annotati...
htmlunit-designerHi, my team has hard, hard times developing tests using HtmlUnit, thus JSFUnit, basically due to long turnaround, so i've started writing a tool that aims to speed up this process. Check this out: https://gith...
JSFUnit and Tomcat 7Hi All, I'm thrilled to get some CDI unit tests running for my Tomcat 7 web app. But i've had mixed luck so far. I'm wondering how well others have fared using JSFUnit 2.0/Arquillian with Tomcat 7....
Thread isUserInRole does not return the expected value.
isUserInRole does not return the expected value.I used manul way to process login progress in my applciation, it worked well. but in the JSF test case, It can not detect the ROLE. @Test
@InitialPage("/login.jsf")
...
ConfigFilesTestSuite don't create testcaseHi, the folowing class should test the xml files. But after starting the jUnit test, eclipse write this in the console: ***** cut ****** start building dynamic suite start building dynamic suite for sr...
Thread Sample to test inputNumberSlider with Richfaces4
Sample to test inputNumberSlider with Richfaces4Hi, Actually it's not possible to use jsfclient.setValue(inputId, value) to set value in inputNumberSlider because this input has no id. while waiting for https://issues.jboss.org/browse/RF-11817), this code w...
Thread Sample to test rich:pickList with Richfaces4
Sample to test rich:pickList with Richfaces4Hi, If someone need to test rich:picklist in richfaces 4.1.0Final while waiting for jfunit has it you can find this utility it, Adrien {code} import org.jboss.jsfun...
Thread JSFUnit and Seam named conversation problem
JSFUnit and Seam named conversation problemHi Stan! JSFUnit is so great! I'm successfully testing my Maven+Seam+JSFUnit+Unitils app. Still using Cargo (didn't have time for arquillian yet). Everything was working great until I've switched named...
JSFUnit with Arquillian and Jboss7Hello, I have had a crack at trying to get JSFUnit (2.0.0.Beta1) to work with Arquillian (1.0.0.CR1) and Jboss 7 (either 7.0.0.Final or 7.1.0.Alpha1), but this does not seem to work right now... Lookin...
How can I test a Servlet?Hi, I have trouble with a Flash component which include by a p:media (Primefaces). This component itself is not testable, but it generate a post request and send it to a servlet. How can I simulate this reques...
Thread Arquillian and JSFUnit Tests in one Maven-project?
Arquillian and JSFUnit Tests in one Maven-project?Hi, I tested the gettingstarted example. After I added the Jboss Deprecated Repository, maven downloaded all dependencies and the test is running. Now I add a simple arquillian test and I get an error....
JsfUnit2 with Primefaces?Hi has anyone managed to get jsfunit2 working with primefaces 2.x or 3 ? I use arquillian and it all works fine until I swap a standard component for the primefaces equivalent. Has anyone expirienced t...
Does @FormAuthentication obey redirectsMy understanding of the documentation on testing secure pages using @FormAuthentication is that by the time the test executes and form authentication has been successful, if the app automatically redirects to a new vi...
Thread Tutorial for JSFUnit2 + JBoss 6 + Eclipse WTP
Tutorial for JSFUnit2 + JBoss 6 + Eclipse WTPHi all, after a long struggle with JSFUnit, Maven and Eclipse, I finished writing a beginners tutorial, which targets for using JSFUnit with Eclipse: It is targeted for this combination of tools: -Eclipse 3....
JSFUnit Download brokenI'm about to test-drive JSFUnit 2 with Arquillian, but the downloads section on the main site still lists beta1 and these links are broken. I then tried to get the jars via the maven repository, but there are...