[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/buttercup 49f01fc 219/340: Merge branch 'master' into test
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/buttercup 49f01fc 219/340: Merge branch 'master' into test-emacs-26.3 |
Date: |
Thu, 16 Dec 2021 14:59:38 -0500 (EST) |
branch: elpa/buttercup
commit 49f01fc6d86dc539901e5986c766777716ea7187
Merge: 1567c03 246ddd7
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: GitHub <noreply@github.com>
Merge branch 'master' into test-emacs-26.3
---
.travis.yml | 9 +++++----
docs/writing-tests.md | 14 +++++++++-----
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 6d663d0..74c768e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,16 @@
language: emacs-lisp
-sudo: no
+dist: xenial
env:
- EVM_EMACS=emacs-24.3-travis
- EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
- - EVM_EMACS=emacs-26.1-travis
- - EVM_EMACS=emacs-26.2-travis
- - EVM_EMACS=emacs-26.3-travis
+ - EVM_EMACS=emacs-26.1-travis-linux-xenial
+ - EVM_EMACS=emacs-26.2-travis-linux-xenial
+ - EVM_EMACS=emacs-26.3-travis-linux-xenial
before_install:
+ - sudo apt-get install libgnutls30
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw >
travis.sh && source ./travis.sh
- evm install "$EVM_EMACS" --use --skip
script:
diff --git a/docs/writing-tests.md b/docs/writing-tests.md
index 7be3782..cb72b28 100644
--- a/docs/writing-tests.md
+++ b/docs/writing-tests.md
@@ -640,7 +640,8 @@ By default, Buttercup captures any warning emitted during a
test and
displays them all after the test completes in order to keep the output
readable. If you need to suppress this (for example if your test deals
with the warnings itself), you can use the macro
-`buttercup-suppress-warning-capture`.
+`buttercup-suppress-warning-capture`, which works like `progn` but
+suppresses Buttercup's warning capturing within the body.
```Emacs-Lisp
(describe "A test"
@@ -650,8 +651,11 @@ with the warnings itself), you can use the macro
(it "can capture its own warnings as part of the test"
(buttercup-suppress-warning-capture
- (display-warning 'buttercup "This warning should be captured in
`collected-output'.")
- (expect (with-current-buffer "*Warnings*"
- (buffer-string))
- :to-match "This warning should be captured"))))
+ (let ((warning-text
+ (format "This warning, issued at %s should be sent to the
*Warnings* buffer as normal."
+ (current-time-string))))
+ (display-warning 'buttercup warning-text)
+ (expect (with-current-buffer "*Warnings*"
+ (buffer-string))
+ :to-match (regexp-quote warning-text))))))
```
- [nongnu] elpa/buttercup 553529f 181/340: Remove obsolete buttercup-xdescribe, (continued)
- [nongnu] elpa/buttercup 553529f 181/340: Remove obsolete buttercup-xdescribe, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 5821cd0 184/340: Merge pull request #131 from snogge/markdown, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a394fea 191/340: Bump version: 1.13 → 1.14, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 7cea4c6 192/340: Test buttercup-run, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b410c78 193/340: Separate return code from reporter, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9b230dc 202/340: Fix the "should print the elapsed time for all specs" test, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9d172a7 205/340: Merge pull request #145 from snogge/test-fixes, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup c100fad 210/340: Implement buttercup-suppress-warning-capture, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup c994aea 212/340: Add LICENSE file., ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup d9ce620 213/340: Merge branch 'license-file' into master, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 49f01fc 219/340: Merge branch 'master' into test-emacs-26.3,
ELPA Syncer <=
- [nongnu] elpa/buttercup 25462dd 223/340: Record calls to spied-on functions that throw errors, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup bf48137 224/340: Add some tests for error-call recording, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup fc19598 225/340: Add examples for checking return value and thrown signal of a spy, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 6590360 226/340: Fix a few typos and other small errors, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 8a28489 230/340: Bump version: 1.18 → 1.19, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 0e40587 231/340: Tweak the spy-contexts to be more backward compatible, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 60028db 236/340: docs: Clarify the spy lifespan in writing-tests.md, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9c4b473 237/340: test: Add missing apostrophe in spec title, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 90654ec 238/340: Update some docstrings, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 178c795 242/340: README: Add '-L .' to test runner example, ELPA Syncer, 2021/12/16