abapGit/test
Fabian Lupa 1052ce6e85
Support direct longtexts in exceptions (#5592)
* Support direct longtexts in exceptions

as opposed to already supported indirect T100-based longtexts

* Lint

* Remove direct longtext variable support

* Add unit tests for exception longtext

* Add longtext message to language mismatch error

* Fix missing preserve_newline handling

* Adjust longtext display in error message box

- Convert newlines to html line breaks
- Indicate if a longtext is available on hover

* Fix duplicate preserve newline handling

* Adjust exception longtext rendering

Render linebreaks as html paragraphs

* Align error message box buttons to bottom right

so they do not move on hover when a longtext is available

* Refactor exception unit tests

* Skip failing transpiled tests

* Adjust longtext indicator for error message

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-05 18:40:34 +02:00
..
.gitignore testing scaffolding (#4875) 2021-07-29 16:55:43 +02:00
abap_transpile.json Support direct longtexts in exceptions (#5592) 2022-06-05 18:40:34 +02:00
docker-compose.yml .gitattributes (#5081) 2021-11-02 06:08:13 +01:00
Dockerfile Docker infrastructure (#4445) 2021-01-25 18:26:18 +01:00
README.md testing scaffolding (#4875) 2021-07-29 16:55:43 +02:00
setup.mjs update transpiler to latest (#5455) 2022-04-07 11:27:05 +02:00
zcl_abapgit_integration_git.clas.abap testing scaffolding (#4875) 2021-07-29 16:55:43 +02:00
zcl_abapgit_integration_git.clas.testclasses.abap interface and factory for ZCL_ABAPGIT_PERSIST_SETTINGS (#4882) 2021-08-03 15:13:16 +02:00

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

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