-
Recent Posts
Recent Comments
Archives
Categories
- .Net
- Acceptance Testing
- Agile
- ATI
- Best Practices
- c#
- closures
- compiler
- DELL
- drivers
- dual display
- Enlist
- Fitnesse
- Functional Languages
- Hibernate
- IBM
- integration
- Jaunty
- Java
- JavaScript
- jscript
- JUnit
- Legacy Systems
- Linux
- LISP
- MQSeries
- Mutual Authentication
- NHibernate
- Oracle
- Principles
- Programming
- scripting
- Selenium
- SOAP
- SQL
- SSL
- Subversion
- TDD
- Testing
- Tools
- Transactions
- Ubtunu
- Uncategorized
- Unit Tests
- VB.Net
- Web Services
- WebSphere
- WebTest
- Why We Rock
Meta
Category Archives: JUnit
Nested classes with JUnit
Recently I was playing with JUnit 4.X. I wanted to be able to define tests in nested classes as I had before with NUnit. This was to facilitate BDD-ish test definitions, where I break up unit tests by test context. … Continue reading
Also posted in Java, Unit Tests
Leave a comment
JUnit 4 TestSuite Declaration
This is mainly for my own reference but if it helps people out there great! The documentation on this aspect of JUnit is very poor. package agalliao.wealthManagment.domain;import org.junit.runner.RunWith;import org.junit.runners.Suite; @RunWith(Suite.class)@Suite.SuiteClasses({ investmentTests.class, catalogTests.class, markerTests.class })public class AllTests { // why on … Continue reading
