ATS : Logging test method JavaDoc

Introduction

By default test method's JavaDoc is not logged. You can use it as a scenario description.

All you need to do is to set a system variable with the name  ATS_SOURCE_FOLDER_LOCATION to point to the folder containing your test class sources.



How to do it

There are two ways:

  • Run the following code before the execution of your first test
System.setProperty( "ATS_SOURCE_FOLDER_LOCATION", "D:\\WorkFolder\\WorkProject\\src" );
  • Add the following to the start command of the process running your tests:
-DATS_SOURCE_FOLDER_LOCATION="D:\\WorkFolder\\WorkProject\\src"



The result

Here is how it may look like:



Back to parent page

Go to Table of Contents