passed all unittests

This commit is contained in:
Alexander Zhirov 2023-03-30 10:14:24 +03:00
parent 1e45d1a503
commit f1f50dc7f2
2 changed files with 28 additions and 1 deletions

View File

@ -1,5 +1,18 @@
# Changelog # Changelog
## [v0.3.0](https://git.zhirov.kz/dlang/readconf/compare/v0.2.0...v0.3.0) (2023.03.30)
### New
- Read multiple configuration files
- Quick access to a file/section/parameter using indexes
### Other
- Updated unittests
- Added [examples](examples/) of configuration files
- [Wiki](https://git.zhirov.kz/dlang/readconf/wiki) added
## [v0.2.0](https://git.zhirov.kz/dlang/readconf/compare/v0.1.1...v0.2.0) (2023.03.26) ## [v0.2.0](https://git.zhirov.kz/dlang/readconf/compare/v0.1.1...v0.2.0) (2023.03.26)
### New ### New

View File

@ -27,7 +27,7 @@ The `settings.conf` file (see the [tests](tests/)):
![matches.png](img/matches.png) ![matches.png](img/matches.png)
Read `./tests/settings.conf` file: Read `settings.conf` file:
```d ```d
import readconf; import readconf;
@ -65,6 +65,20 @@ value3 => good value!
this value will be in the new section this value will be in the new section
``` ```
## Unittests
The unittests provide [examples](examples/) of configuration files and the `settings.conf` file located in the [tests](tests/):
```sh
Running bin/readconf-test-unittest
✓ test __unittest_L4_C1
✓ test __unittest_L106_C1
✓ test __unittest_L25_C1
✓ test __unittest_L51_C1
Summary: 4 passed, 0 failed in 7 ms
```
## DUB ## DUB
Add a dependency on `"readconf": "~>0.3.0"` Add a dependency on `"readconf": "~>0.3.0"`