
After working for several years in the nowadays so called "DevOps" area, developing test automation tools, simulation frameworks, automated performance & stability tests and rampup and maintaining quite complex build, test and delivery pipelines (CI's/CD's) for both Java and .NET stack projects i joined this year SAP. Into an purely ABAP based project.
Setup CI. Simple. Or ?
Beside normal CI requirements we have additional test activities to do before release
so, first sketch (translated Dev/Integration/Release branch model to ABAP development landscape)
So easy to start, but not all developers consistently run check and remove - at least Prio1&2 - before triggering transport. For *some* machines (which are connected ) it is possible to use the ATC gadget on the Bridge Dashboard.
Follow this guide to setup HTTP IF for ATC Checks.
Same. Failing Unit tests do not block any transport. TDD? Yes, most heard about it, but really doing in daily life ? Good practice is to plan as task immediately for each Item from backlog and add to teams DoD a minimum of code coverage for newly created code.
We found it very effective to setup at least nightly runs of our unit tests, each team got an own variant, an own Jenkins Job for the trend charts and results(errors) discussed in each teams daily standup.
Step-By-Step Guide Setup Jenkins Instance wit AUnit Test Jobs
Yeah! After I first heard about it I immediately thought that is the solution to slackers which ignore both ATC and AUnit. But setup is a bit more complicated as thought. First of all - check version of SUT. Write DLM ticket to update to latest version (as of today - 11/2015 - this is 2.12). Use Transport Requests with latest version of SUT Core as reference within the DLM ticket.
Note: It will not work for 7.02.
Now you can configure your systems to run both ATC & AUnit triggered by Import/Export Events (which sends EMail to the author of the change).
During research I found some references to the ITF, which was developed within ByD landscape and never ported to NW.
The idea is close to CI - first run a "trial" transport into a shadow system, and only if all tests passed there activate the transport for next stage.
See some more ITF details.
In our project we have SAPUI & WebDynPro, which means for E2E tests we have to use eCATTs (or manual testing). eCATTs are quite expensive (around 2 days per TC) and generate a heavy maintenance load (test scripts need adaptation, test data might need to be changed, errors itself are hard to find cause for some types of crashes there is no way to get a detailed trace). All these reasons have led to running them as less as possible. And of course no test trend chart available too.
Best possible solution: Trigger eCATT test plans (which so far must be configured in ECA system cause START cannot run test plans from GTP) via START command line from Jenkins. Meanwhile START team extended functionality so that results can be retrieved in JUnit format and displayed quite nicely (but without possibility to directly jump to detailed traces).
Within one of the latest versions of SUT a new feature was introduced to generate Code Coverage Trend Charts.
And again, not availble for NW 7.02.
I tried to configure conQAT in eclipse but gave up after one day without the expected results.
Shall be better as ABAP workbench, but not available for NW 7.02.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
21 | |
8 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
1 |