How is TDD different from the common pattern?
Tests are written before coding a feature.
Do you write all the tests before programming with TDD?
No, it’s an iterative process.
Is TDD identical to unit testing?
No, very similar but a test suite can still include both.
What agile principle TDD aligns with?
Acceptance test can be a a source of TDD cases
What are some jUnit methods?
assertTrue(statement) assertEquals(expected, result) assertSame(expected, result) assertNotSame(expected, result) asserNull(object) fail() -> throws error message
What are some limitations of JUnit?
Works great for for methods that returns something.
Difficult to test UIs, robotics.. . unpredictable results are a challenge.