concept know state in category software development

appears as: known state
Test Driven: Practical TDD and Acceptance TDD for Java Developers

This is an excerpt from Manning's book Test Driven: Practical TDD and Acceptance TDD for Java Developers.

In fact, those couple of assertions are the only things still keeping us from seeing the red bar. Let’s add those so that we can finally get our code base back to a known state.

We’re about to write our first integration test for a DAO dealing with Person objects. Our persistence architecture is Hibernate, but the whole HibernatePersonDao class we now want to test-drive doesn’t exist yet. The first thing we want the DAO to be able to do is persist a Person object. Persisting an object takes us straight into the beef with integration tests because it’s a simple piece of functionality and because it’s a write operation. Write operations are generally trickier than read operations and, thus, bring up interesting issues regarding how our tests maintain the database in a known state.