Results 1 to 4 of 4

Thread: easiest way to write a test

  1. #1

    Default 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. #2

    Default

    you DO test your flows, don't you?

  3. #3
    Join Date
    Dec 2010
    Posts
    175

    Default

    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 (http://seleniumhq.org/) 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. #4

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •