Announcement Announcement Module
No announcement yet.
easiest way to write a test Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • easiest way to write a test

    hi there,

    the situation is:
    i have running tests extending AbstractTestNGSpringContextTests. what's the easiest way to get from there to run a test on web-flow-level? i don't need mocked webflows. i want to run all tests on the real ones. everything is built and deployed, i just don't know how to access flows and execute transitions on them inside a test.

    how to do it?

  • #2
    you DO test your flows, don't you?


    • #3
      I've not testing web flows yet however I believe any web based testing should be the right tool for testing Spring Web flow, because it involves user interaction via a web application.

      Not sure, how we can test it using JUnit or TestNG.

      Try using Selenium ( is a Firefox add-on that records clicks, typing, and other actions to make a test, which you can play back in the browser.


      • #4
        not good. i want to test something like "is variable x set, and does it have value y after switching into state z". a browser doesn't see things like that.