|
|
| What other unit testing frameworks are there for java besides JUnit and JTiger? What's so great about testNG that makes it better than JUnit ? |
| Power and flexibility |
| You can pass parameters to your tests It allows you to run junit tests It uses annotations (but so does junit now) It allows you to run one setUp per class as opposed to per test I think it allows you to specify orders Of your tests And it allows you to require prerequisite tests i believe Although... i use junit |
| Test grouping, test data input factories, finer grained failure reports, more flexible setup/teardown system. |