Skip to content

Releases: felipec/sharness

v1.2.1 (2024-04-23)

24 Apr 01:11
v1.2.1
Compare
Choose a tag to compare

Changes in this version

  • Fix automatic SHARNESS_TEST_SRCDIR for zsh

Full Changelog: v1.2.0...v1.2.1

v1.2.0 (2023-03-20)

20 Mar 23:16
v1.2.0
Compare
Choose a tag to compare

Changes in this version

  • Moved functions into lib-sharness/functions.sh
  • Add simple example
  • Add support for zsh
  • Clarify the purpose of aggregate-results.sh
  • Add SHARNESS_TEST_OUTDIR
  • Add SHARNESS_TEST_NB
  • Add -x option for tracing commands
  • Add vim syntax file
  • Minor bugfixes

Maintainer and project changes

v1.1.0 (2018-09-30)

30 Sep 10:39
827ec00
Compare
Choose a tag to compare

These notes describe changes since the previous v1.0.0 version from June 14 2016.

Externally visible features:

  • Add a number of test_X_is_Y() functions from Git, thanks to Antoine Beaupré.
  • Add test_expect_unstable() for known unstable tests.
  • Add --tee option to also write output in a file by lifting code from Git.
  • Add --verbose_log option by lifting code from Git.

Internal improvements and bug fixes:

  • Replace /bin/true with true in sharness.t, thanks to Chris Dunlap.
  • Fix EXPENSIVE prereq test in sharness.t, thanks to Chris Dunlap.
  • Add linttarget in the Makefile, thanks to Lucid One.
  • Run make lintwhich runs Shellcheck in Travis CI, thanks to Viktor Szépe.
  • Fix many issues pointed to by Shellcheck, thanks to Viktor Szépe and Lars Kruse.
  • Remove unused shebang at the top of sharness.sh, as suggested by Lars Kruse.
  • Sign the tag of this new release, as suggested by Lars Kruse (see #73).

Documentation improvements:

  • Fix clone URL, thanks to Stefan Beller.
  • Update README.md following transfer of the Sharness repo to chriscool.
  • Add an empty commit to state that chriscool is the new maintainer, thanks to Mathias Lafeldt.
  • Add ipfs-update in the list of projects using Sharness.
  • Fix typo "tun -> run" in sharness.t, thanks to Albert Chu.
  • Fix spelling of "suposedly" in sharness.t, thanks to Chris Dunlap.
  • Add shove as alternative, thanks to Jakub Wilk.
  • Fix link to the Git project in the README, thanks to Jakub Wilk.
  • Regenerate API.md with new TomDoc and fix typos and links, thanks to Jeff Haemer.

v1.0.0 (2016-06-14)

14 Jun 20:43
Compare
Choose a tag to compare

These notes describe changes since the previous v0.3.0 version from
April 3 2013.

The new v1.0.0 version contains both many upstream fixes and
improvements from Git and a lot of specific user contributed features.

We think that Sharness is used and supported by enough projects and
developers, and stable enough, now to be ready for a v1.0.0 version.

Externally visible features:

  • Add a 'cleanup' api to register cleanup actions, thanks to Dennis
    Kaarsemaker.
  • Add simple test_seq(), thanks to Christian Couder.
  • Add test_pause() from Git, thanks to Christian Couder.
  • Add test_must_be_empty(), thanks to Konstantin Koroviev.
  • Add SHARNESS_TEST_SRCDIR to run tests from a different directory,
    thanks to Mark A. Grondona.
  • Implement --long-tests to run EXPENSIVE tests, thanks to Matthieu
    Moy.
  • Support extensions in a sharness.d directory, thanks to Mark
    A. Grondona.
  • Interactive tests, thanks to Dennis Kaarsemaker.

Internal improvements and bug fixes:

  • Add a linter that detects broken && chains, thanks to Dennis
    Kaarsemaker.
  • Export SHELL_PATH, thanks to Christian Couder.
  • Fix color support when tput needs ~/.terminfo, thanks to Richard
    Hansen.
  • Fix pathname of test-results/*.counts file, thanks to Richard
    Hansen.
  • Sort test scripts before running them, thanks to Richard Hansen.
  • Use SHARNESS_TRASH_DIRECTORY to enter the trash directory and drop
    the test_dir internal variable, thanks to Alexander Sulfrian.
  • A lot of new TTY and sub sharness related tests, thanks to Mark
    A. Grondona.
  • Build on Travis-CI using a container based build infrastructure,
    thanks to Mark A. Grondona.

Documentation improvements:

  • Mention the Sharness Cookbook in the README, thanks to Mathias
    Lafeldt.
  • Add alternatives to Sharness like Cram, rnt and ts to the README,
    thanks to Roman Neuhauser and Simon Chiang.
  • Consistent Markdown headings, thanks to Mathias Lafeldt.
  • Replace Contact with Author section, thanks to Mathias Lafeldt.
  • New CONTRIBUTING.md document, thanks to Christian Couder.
  • Mention Sharnessify a new installation tool, thanks to
    Christian Couder.
  • Usage clarifications, thanks to Matthieu Moy.
  • Improved flag descriptions in the README, thanks to Matthieu Moy.

Maintainer and project changes:

  • Mathias Lafeldt, who created Sharness by extracting it from the
    Git codebase in April 2011, decided to step down and pass on the
    maintainership to Christian Couder. Thanks a lot, Mathias, for
    creating Sharness and maintaining it during all these years!
  • Following the above point, Mathias transfered the Sharness
    GitHub repository to Christian, so the project can now be found on:
    https://github.com/chriscool/sharness and its web page is now:
    http://chriscool.github.io/sharness/