Table of Contents

Debugging unit tests in Ant projects


Prerequisites

Ant project with configured JUnit tests is opened in Visual Studio. You can find instructions how to create an Ant project in this section. You can also find more information on how to configure JUnit tests in Ant project in this section.

Actions

Before you start a debug session, you need to specify which Ant target actually runs your testing code. You do so in the Properties window available for the project node in Solution Explorer. Go to the General page and enter the name of the target in the Test target field:

Now, right-click on the project node again, go to the Debug submenu and choose Run Ant tests in debug option. The debugger will start. If everything goes OK, the code view should now look like this:

You can now debug your testing code. The IntegraStudio debugger supports all standard Visual Studio debugger features, except native-specific ones like Disassembly, Memory and Registers. Howerver, we also plan to implement Disassembly in the future as bytecode disassembler. This feature is considered lower importance, though.

Table of Contents


Copyright (C) 2014-2016 SOFT-ERG. All rights reserved.