Using JUnit for testing in Java/SCons builds

This post adds testing to some existing Java code using JUnit. It includes information on how JUnit was installed and tested on Windows and Linux, how tests were added for existing code, how test suites (including a hierarchy of suites) were added, and how the code was built with SCons and the tests run.

Getting SCons Java builds to work under Windows

Current repository revision: 50 (Testing) Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown → Denotes the current line and the next are really one line The next blog post in this series building towards an Android development environment was supposed to be Using JUnit for testing in [...]

Java and SCons – First steps to Android development

Current repository revision: 40 (Testing) Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown → Denotes the current line and the next are really one line The next series of blog posts is going to highlight the path followed to reach the goal of using SCons to build [...]

SCons and Microsoft Visual Studio 2010 Express

Current Repository Revision: 38 Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown → Denotes the current line and the next are really one line On the 12th April 2010 Microsoft launched the first full (post Beta) version of their Visual Studio suite. This blog post covers testing [...]

More SCons configure checks

Current Repository Revision: 35 Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown The first SCons configure style checks were added in the previous post. These simply checked for the existence of header files. This blog entry will add to the header checks by adding checks for functions. [...]

Adding SCons configure style checks to new example code.

Current Repository Revision: 32 Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown In the last post a new library (tictac) was added to the SCons test example code. Now it’s time to put some code into that library, and check that the SCons setup can handle the [...]

Adding a new library to the Mere Idea SCons example code

Current Repository Revision: 22 Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown Now it’s time to add a new library to the example code. This new library will be used for testing the SCons configure style options – checking for the existence of header files, libraries and [...]

Debugging with SCons and Visual Studio

Current Repository Revision: 14 Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown We can now create Visual Studio projects for our example code and use them to help when debugging using the Visual Studio debugger. Before we can start debugging, however, we need to fix the debug [...]

Creating Visual Studio Projects in SCons

Current Repository Revision: 13 Code highlight key Grey: Code unchanged Red: Code removed Green: Code added Blue: Code not shown Now we are at the stage where we can create our Visual Studio projects. We will create a Visual Studio project for each library, and one for each executable. In the current example code there [...]

SCons, MSVS Projects and build targets.

Current Repository Revision: 11 The next stage in our development process was to see how we could create Microsoft Visual Studio projects using SCons. We already had some code in our example code to build a project for each directory by calling: scons -Q msvs=true There is an error in this code, however. If you [...]