abapGit/test/README.md
Lars Hvam 9f025fa656
testing scaffolding (#4875)
* additional classes are transpiled
* additional unit tests run under node.js
* `abap_transpile.json` moved to folder `/test/` from root
* new `npm run integration` target, doesnt really do anything yet
* new `/test/Readme.md` with [notes and stuff](https://github.com/abapGit/abapGit/pull/4875/files#diff-5de36acd90308dc62abf7855a686ee7052ffb6e762c756fd735fb0c9fbd9595d)
2021-07-29 16:55:43 +02:00

37 lines
707 B
Markdown

# abapGit Testing
## Unit testing
Part of `/src/`
* Harmless, no changes to the system
* No network connectivity required
Run manually on ABAP system
Run locally on Node.js 14+ via `npm run unit`
Runs automatically for every push, not a required status check
## Integration Testing - Git Protocol
`ZCL_ABAPGIT_INTEGRATION_GIT`
Not installed on systems, edit in vscode or copy pasta
* Gitea docker image, https://hub.docker.com/r/gitea/gitea
`npm run integration`
Option to leave Gitea running?
## Integration Testing - UI
Playwright, https://playwright.dev
webpack and mocked git/repos?
## Integration Testing - Object Serialization
https://github.com/abapGit/CI
## GitHub Actions Setup
todo