Commit graph

2516 commits

Author SHA1 Message Date
Tomas Babej
e60fdafdaa centos8: Fix missing repo metadata 2022-02-11 00:40:31 -05:00
Tomas Babej
0cc2de6179 tests: Add a test for handling short UUIDs in the depends column 2022-01-19 20:11:41 -05:00
Dustin J. Mitchell
28e268bd26 fix parsing invalid depends from server
The data from the server is read via Task::parseJSON, not Task::parse.

This also reverts the tests for Task::parse, and adds new tests for this
specific issue.
2022-01-19 19:34:45 -05:00
Dustin J. Mitchell
7321febe4f A more thorough fix to corruption of the depends property 2022-01-19 19:34:45 -05:00
Dustin J. Mitchell
96d6c1df9f Add special case for taskserver mis-formatting of depends 2022-01-16 15:36:21 -05:00
Tomas Babej
cb058f2e4b tests: Remove Ubuntu 20.10 (now beyond EOL) from the test matrix 2022-01-05 21:01:21 -05:00
Dustin J. Mitchell
c564bbc0b7 fix test to pass at the end of the year 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
e98b61f2b5 test for dashes in proj without incidentally testing DOM references in 'task add' 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
3a61289f6c replace a use of Task::data in tests 2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
dede40bc4e Replace direct Task.data access with a temp getter (syntactic refactor)
Now this getter, `data_removeme`, can easily be grepped out and
replaced, one usage at a time in small PRs.
2021-12-16 23:03:44 -05:00
Tomas Babej
8074e509ba tests: Add bulk removal test for tags attribute 2021-11-22 15:51:27 +01:00
Tomas Babej
af10774aec tests: Add bulk removal test for depends attribute 2021-11-22 15:51:27 +01:00
Dustin J. Mitchell
3937f1efb0 Don't look for a specific sha when testing task version
This allows tests to pass even with a dirty working copy or when running
tests via `git rebase`.
2021-11-21 23:34:46 +01:00
Tomas Babej
3c2b74a36f tests: Remove expected failure for ID-range based dependencies 2021-11-20 15:19:34 -05:00
Tomas Babej
caf0f9db3e
tests: Clarify we're testing OpenSUSE 15.x rolling 2021-11-06 13:08:51 -04:00
Tomas Babej
da43078eba
tests: Add Ubuntu 21.10 into the test matrix 2021-11-06 12:59:16 -04:00
Tomas Babej
6fae705b43
tests: Add Ubuntu 20.10 into the test matrix 2021-11-06 12:57:26 -04:00
Tomas Babej
e4f1e05c1d
tests: Add Fedora 35 into the test matrix 2021-11-06 12:54:46 -04:00
Tomas Babej
4559287d07
tests: Remove tests on F31
This distribution release is more than a year out of its support window.
2021-11-06 12:52:24 -04:00
Tomas Babej
ed4b932530
tests: Add test to cover invalid contexts due to tag exclusion 2021-11-06 11:58:47 -04:00
Tomas Babej
f0f704fc99
tests: Fix copy-paste error
The context name in these two tests was invalid in some assertions.
2021-11-06 11:58:46 -04:00
Tomas Babej
df75d1ce43
test: Add tests for parsing ID ranges of various sizes 2021-10-18 23:46:45 -04:00
Tomas Babej
6a79e614da tests: Expand test for waiting report
Add tasks to test exclusion of completed and deleted tasks.
2021-10-16 11:11:45 -04:00
Tomas Babej
3b37dc2480 tests: Adjust test description 2021-10-16 11:02:38 -04:00
Tomas Babej
3840c4e768 tests: Add test for UDA Orphan identification 2021-10-16 10:22:34 -04:00
Tomas Babej
f6d9837b07
tests: Add test for legacy context interpretation 2021-10-14 22:36:11 -04:00
Tomas Babej
c010855bac
Merge branch '2.6.0' 2021-10-02 22:04:54 -04:00
Tomas Babej
ac309b4ff1
tests: Skip the diagnostics test on Ubuntu 16.04
This is a byproduct of recent bump to C++17 compliant compilers. Ubuntu
16.04 does not have C++17 compliant compiler, but it's still useful to
for us to test 2.5.3 there as the branch does not actually use any of
the C++17 features not available on gcc on Ubuntu.
2021-10-02 21:32:21 -04:00
Tomas Babej
c2ba93cb61
tests: Ensure the git tag version check does not run for tarball builds
Do not try to determine the latest git tag if we're not in a git
repository in the first place.
2021-10-02 18:27:58 -04:00
Tomas Babej
4d85031b90
tests: Ensure tests are run with news.version set to 2.6.0
No tests were failing due to the footnote but its better to be safe than
sorry.
2021-10-02 18:06:12 -04:00
Tomas Babej
967bf18188 tests: Add test for TW #2386 2021-09-25 20:25:53 -04:00
Tomas Babej
37f26be3ad tests: Add test for TW #2388 2021-09-25 20:25:53 -04:00
Tomas Babej
16c5a58843 tests: Add test for detection of invalid write contexts 2021-09-18 14:15:47 -04:00
Tomas Babej
690d00c8c5 tests: Update test expectations in context.t to account for write context
These changes make the tests a bit more wholesome by checking
configuration variables for the write context as well.
2021-09-18 14:15:47 -04:00
Tomas Babej
5bbb1697af tests: Remove expected failure
Hyphenation for long words now works as expected.
2021-09-16 07:33:53 -04:00
Tomas Babej
a5d5a025b7 tests: Make sure test accessing header output have correct verbosity tokens
This change was needed because the information about the default command
is no longer part of the default output.
2021-09-16 07:15:54 -04:00
DanielMowitz
c6be724a96 Changed burndown test so it doesn't block forever 2021-09-11 13:56:03 -04:00
DanielMowitz
bad672dc0a Update burndown.t
Fixed indentation error.
2021-09-11 13:56:03 -04:00
DanielMowitz
cb07e93ddd Changed configuration option name and added documentation. 2021-09-11 13:56:03 -04:00
DanielMowitz
1d804ae7c8 Implemented non-cumulative burndown reports and added a test for them. 2021-09-11 13:56:03 -04:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers 2021-09-05 12:02:07 -04:00
Dustin J. Mitchell
309e99d49e Refactor task diffs to handle new attributes
This refactors task(Info)Differences to be methods of Task and to
correctly handle the `annotation_`, `tags_`, and `dep_` attributes.
2021-09-04 10:49:45 -04:00
Dheepak Krishnamurthy
9ce366ddab task <filter> export [<report>] 2021-08-29 12:48:18 -04:00
Tomas Babej
2619435148 tests: Add test for TW-2189 2021-08-28 21:01:29 -04:00
Tomas Babej
4f14c529b0 tests: Add test for TW #2577
This is already fixed on 2.6.0 thanks to #2405, but it never hurts to
have more tests.

Closes #2577.
2021-08-21 09:53:46 -04:00
Bharatvaj H
05904549a0 Fixes #2580
Check annotations field before parsing

Add test case for annotations
2021-08-21 08:28:43 -04:00
Tomas Babej
48bf64a501 tests: Add test for report.<name>.context variable 2021-08-21 08:25:06 -04:00
Tomas Babej
1f76856579 tests: Add test for TW #2581 2021-08-21 01:06:55 -04:00
Dustin J. Mitchell
20af583e21 Refactor to store dependencies as individual attributes
This also drops support for the transitional `json.depends.array`
configuration value, which has not been necessary since ~2016.

As with tags, dependencies are stored in both a "combined",
comma-separated format (for compatibility) and in an
attribute-per-dependency format (for the future).
2021-08-17 20:36:54 -04:00
Tomas Babej
7fb457d892 test: Add tests for TW #2550 2021-08-15 22:50:55 -04:00