1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 15:54:50 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Jeremy Ruston
5165fcdcb8 Merge branch 'master' into geospatial-plugin 2024-05-20 16:28:47 +01:00
Jeremy Ruston
ece8b0ee01
Add <$testcase> widget (#7817)
* Initial Commit

* Add note to preview build

* Fix whitespace and indenting

Thanks @pmario

* Fix crash with unset $tiddler attribute on <$data> widget

Thanks @CodaCodr

* Don't duplicate "description" field in test cases

* Use different background colours for nested testcase widgets

* Extend the testcase widget to run tests

* Add testcases to control panel

* Add a view template body template to render testcase tiddlers

* Test edition should display testcases

* Whitespace fixes

* Make testcase tiddler tempalte link to itself

* Styling tweaks

* Docs improvements

* Styling tweaks

* Run the new tw5.com testcases in the test edition

* Update data widget to display its content in JSON

* Add testcase convenience procedure

* Clearer testcases for data widget, and docs tweaks

* Don't expect our intentionally failing test to pass

* Extend testcase default template so that the display format can be chosen

It is selected by setting the variable "displayFormat"

* DataWidget docs typo

* Fix data widget not refreshing

* Links in testcase output switch to the tab containing that tiddler

Thanks to @btheado for the suggestion

* Docs update for 648855e8a5

* Wording tweak

* Add support for narrative tiddlers in test cases

* Documentation improvements

* Cleanup comments

* Remove obsolete code comments

* Simplify template

* Docs update

* Rename $:/core/ui/testcases/DefaultTemplate/SourceTabs from $:/core/ui/testcases/DefaultTemplate/Source

* Use the view template body for failing tests

* Don't reference the geospatial plugin

* "Test case" should be two words

* Fix handling of currentTiddler variable

Fixes problem reported by @btheado in https://github.com/Jermolene/TiddlyWiki5/pull/7817#issuecomment-2103704468

* Prepare for merging
2024-05-20 11:30:30 +01:00
Jeremy Ruston
00ac5503d9 Extend testcase default template so that the display format can be chosen
It is selected by setting the variable "displayFormat"
2024-05-06 21:56:35 +01:00
Jeremy Ruston
e8a3ffdffc Styling tweaks 2024-05-05 22:25:55 +01:00
Jeremy Ruston
39d463337b Make testcase tiddler tempalte link to itself 2024-05-05 21:54:11 +01:00
Jeremy Ruston
57e74a0ad5 Extend the testcase widget to run tests 2024-05-05 13:54:02 +01:00
Jeremy Ruston
5eae32d762 Fix whitespace and indenting
Thanks @pmario
2023-10-31 13:56:19 +00:00
Jeremy Ruston
497c56d3fa Initial Commit 2023-10-26 16:56:15 +01:00