Menu

How to run JFCUnit

Help
joao429
2005-08-02
2013-04-09
  • joao429

    joao429 - 2005-08-02

    I just downloaded jfcUnit and wrote a Swing-based class. I've looked through the docs but I can't find information on how to run tests with jfcUnit. Can someone point me to the right direction? The page on "Installing jfcUnit" doesn't say anything about this. Thanks!

     
    • Jero Cortés

      Jero Cortés - 2009-02-11

      One way is create a new JUnit class into your project, the change the class to extend from JFCUnit, i.e:

      public class TestLoginScreen extends JFCTestCase
      {
      ...
      }

      You have to add these external libraries to the project: jfcunit.jar and jakarta-regex.jar. You can find them into "elcipse_path/plugins/jfcplugin_path".

      Running the test clase -> run the class as a Junit class.

       

Log in to post a comment.