https://github.com/matthijskamstra/lia-angular-test
POC write Angular tests (wip)
https://github.com/matthijskamstra/lia-angular-test
Last synced: about 1 month ago
JSON representation
POC write Angular tests (wip)
- Host: GitHub
- URL: https://github.com/matthijskamstra/lia-angular-test
- Owner: MatthijsKamstra
- License: mit
- Created: 2023-04-18T19:53:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T14:49:45.000Z (about 1 year ago)
- Last Synced: 2025-01-22T02:48:56.323Z (3 months ago)
- Language: Haxe
- Size: 300 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lia-angular-test
POC write Angular tests (wip)
Probably good to know
- Angular 15.2.4
- files generate with Angular CLI (aka `ng g service foobar`)
- VSCODE [prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) and [formatting](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle) is active on save## POC
assumptions everywhere, thats why it is a Proof-of-concept
- tabs (not spaces)
- formatting (see above)
- vars above the constructor (probably always a good idea, but ...)
- ...## how it works
convert folders
```bash
haxe build_interp.hxml -i path/to/folder
//
haxe build_interp.hxml -i _testme/one
```convert files
```bash
haxe build_interp.hxml -i _testme/one/file.service.ts
```## help
```
----------------------------------------------------
Lia-angular-test (0.0.1)--version / -v : version number
--help / -h : show this help
--in / -i : path to project folder
--out / -o : write readme (WIP)
--force / -f : force overwrite
--dryrun / -d : run without writing files
----------------------------------------------------
```