about summary refs log tree commit diff
path: root/pkgs/development/interpreters/bats
AgeCommit message (Collapse)AuthorFilesLines
2023-07-17bats: 1.9.0 -> 1.10.0Travis A. Everett1-2/+3
2023-03-11bats: add bats-file library testThibault Gagnaux1-1/+15
2023-03-11bats: bats-assert 2.0.0 -> 2.1.0Thibault Gagnaux1-8/+8
2023-03-09bats: update 1.8.2 -> 1.9.0Thibault Gagnaux1-2/+4
2023-01-21treewide: switch to nativeCheckInputsGuillaume Girol1-1/+1
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
2022-11-14Merge pull request #199800 from abathur/bats_shrink_librariesSilvan Mosberger1-6/+9
bats.libraries: reduce output size
2022-11-05bats.libraries: reduce output sizeTravis A. Everett1-6/+9
2022-10-20bats: 1.8.0 -> 1.8.2R. Ryantm1-2/+2
2022-09-18bats: 1.7.0 -> 1.8.0Travis A. Everett1-6/+14
2022-08-09bats: Add library testTravis A. Everett1-0/+27
Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
2022-08-08bats: Add library wrapperSilvan Mosberger1-0/+20
Adds a `bats.withLibraries (p: [ ... ])` function, which creates a `bats` wrapper where the `BATS_LIB_PATH` environment variable contains fallbacks for the given list of libraries. This allows to e.g. use the `bats-assert` library (which itself requires the `bats-support` library) with bats.withLibraries (p: [ p.bats-support p.bats-assert ]) In a `.bats` file you can then call `bats_load_library` [1] to load the libraries in the `setup()` function: setup() { bats_load_library bats-support bats_load_library bats-assert } [1]: https://bats-core.readthedocs.io/en/stable/writing-tests.html?highlight=library#bats-load-library-load-system-wide-libraries
2022-08-08bats: init librariesSilvan Mosberger2-0/+73
- init bats-assert 2.0.0 - init bats-support 0.3.0 - init bats-file 0.3.0
2022-05-16bats: 1.6.0 -> 1.7.0Travis A. Everett1-5/+5
2022-04-23bats: move installCheck into passthru.testsTravis A. Everett1-15/+26
I happily painted myself into a corner when converting bats to use resholve. Since resholve tests itself with bats, all updates to resholve now require rebuilding bats. The build itself is quick, but the tests take a few minutes; moving them into passthru saves time. :)
2022-04-23bats: improve package w/ new resholve featuresTravis A. Everett1-4/+66
The resholve 0.8.0 release includes better support for intra-package references, making it possible to also resholve files in lib/libexec. This process helped shake loose 5 more unnoticed package dependencies, and enable bats' parallel execution support.
2022-04-08resholve: track API update in dependent packagesTravis A. Everett1-2/+2
2022-02-24bats: 1.5.0 -> 1.6.0Travis A. Everett1-3/+5
2022-02-07bats: use resholvePackageTravis A. Everett1-8/+30
2022-01-08bats: switch to fetchFromGitHubFelix Buehler1-4/+6
2021-10-29bats: 1.4.1 -> 1.5.0Michael Adler1-3/+4
2021-10-19bats: 1.3.0 -> 1.4.1Michael Adler1-2/+2
2021-03-17bats: 1.2.1 -> 1.3.0Sascha Grunert1-2/+5
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-01-16bats: 1.2.0 -> 1.2.1Travis A. Everett1-11/+19
2020-05-02bats: fixup readlink referenceDaiderd Jordan1-2/+6
Using `readlink -f` requires coreutils, on platforms like darwin where this isn't the GNU variant by default it would fail outide of a nix-shell.
2020-05-02bats: 1.1.0 -> 1.2.0R. RyanTM1-2/+2
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2019-08-15treewide: name -> pname (easy cases) (#66585)volth1-1/+1
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2018-10-27bats: add missing grep dependencyTobias Pflug1-2/+5
2018-08-23bats: 0.4.0 -> 1.1.0Daiderd Jordan1-4/+4
2016-03-01bats: fixes installationzimbatm1-0/+2
The build was failing with: /...-stdenv/setup: ./install.sh: /usr/bin/env: bad interpreter: No such file or directory See https://hydra.nixos.org/build/32353411/log
2016-02-07bats: init at 4.0.4Daiderd Jordan1-0/+21