abapGit/docs/collections/_development/tests.md
Lars Hvam 02a8c719a0
default branch updates (#4572)
* Update build.yml

* docs updates

* readme and contributing adjusted
2021-02-28 18:07:37 +01:00

11 lines
530 B
Markdown

---
title: Unit Tests
order: 70
---
abapGit uses dependency lookup as an approach for writing unit tests, see example in ZCL_ABAPGIT_TADIR, ZCL_ABAPGIT_FACTORY, and [ZCL_ABAPGIT_INJECTOR](https://github.com/abapGit/abapGit/blob/main/src/zcl_abapgit_injector.clas.testclasses.abap).
Unit tests that create and delete objects in the system are categorized as dangerous, these tests can be enabled via "Advanced > Settings".
Use organization [abapGit-tests](https://github.com/abapGit-tests) for storing serialization test cases.