Problem/Motivation
Add unit tests and a functional/integration test to improve code quality.
Proposed resolution
Add phpunit tests and functional simpletest.
Remaining tasks
Need to run patch through simplytest.me as d.o infrastructure won't pick up the tests until an initial test is passing.
| Comment | File | Size | Author |
|---|---|---|---|
| #30 | interdiff.txt | 978 bytes | mradcliffe |
| #30 | footermap-2641452-add-tests-30.patch | 20.36 KB | mradcliffe |
| #27 | interdiff.txt | 1.04 KB | mradcliffe |
| #27 | footermap-2641452-add-tests-27.patch | 20.27 KB | mradcliffe |
Comments
Comment #2
mradcliffeComment #5
mradcliffeComment #6
mradcliffeComment #9
mradcliffeLet's try enabling the module in the test.
Comment #12
mradcliffeRestoring the config settings in the test from #2.
Comment #15
mradcliffeLet's try this.
Comment #18
mradcliffeComment #21
mradcliffeAdd menu_ui dependency to simpletest.
Exclude src/Tests from coverage.
Comment #24
mradcliffeLet's try this approach again even though it didn't work the last time. Maybe some magic combination will make Drupal Simpletest work.
Comment #27
mradcliffeOh, hmm... Block API changed since I first did it. Sigh.
Comment #30
mradcliffeNow we're getting somewhere. Let's see if going to a page fixes the xpath issue.
Comment #31
mradcliffeFixed on commit.