This is exactly what we do. We have an APP-CODE database, and the CI build process is basically:
- pull the latest source from source control.
- load the build script (which is an ObjectScript class that does the rest of the steps).
- the build script then deletes the APP-CODE database and creates a fresh one.
- populate the fresh APP-CODE database the source code checkout from the first step.
- Run tests, collect results, etc
This way we can be sure that what is being tested in CI always matches what is in source control.
- Log in to post comments
