Return to Snippet

Revision: 66243
at April 3, 2014 02:57 by flashmac


Initial Code
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;

// then place this above the class declaration. eg

@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class pageTest { ..

Initial URL

                                

Initial Description
JUnit forcing tests to run in name order

Initial Title
JUnit forcing tests to run in name order

Initial Tags

                                

Initial Language
Java