on 08-27-2008 1:52 PM
Hello,
I could not find any documentation on the test infrastructure / system that seems to be integrated into Netweaver CE 7.1. A DC offers the option via the context menu to "Add/Repair Unit Test Support". When this is used the Developer Studio automatically creates the necessary test source folder, JUnit library dependencies and a file called TEST-INF/testrun.xml.
The first two things are clear, but what function does the testrun.xml file serve? To me it looks like it defines the Tests that should be executed (automaticaly during build?). However, the tests are never actually run.
<?xml version="1.0" encoding="UTF-8"?>
<test>
<run type="junit">
<include>com.sap.**</include>
<exclude></exclude>
</run>
</test>
Can anybody expain how this file is though to be used? Or how to perform automatic unit tests during/after the build process?
Thanks in advance.
ciao,
Elmar
Edited by: Elmar Weber on Sep 17, 2008 9:58 AM
Hi test developers,
the integration of JUnit tests into the DC build is planned for 7.30. You can add your tests in a separate test folder and specify additional "test"-dependencies, if required. The tests will be executed during the DC build. If a test fails, the build will also fail. Generation of code coverage reports will be possible, too.
Best Regards,
Jochen Ehret.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wrong forum for question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bump
no answer? I would really appreciate an answer to this question!
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.