User tests: Successful: Unsuccessful:
This .txt are created with the Codeception Generate Scenarios feature:
php vendor/bin/codecept generate:scenarios acceptance
And have been cleaned manually to document the current tests.
Labels |
Added:
?
|
Labels |
Added:
?
|
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | Unit Tests |
Does it matter for this of the english is not great?
"I do administrator login('admin', 'admin')" part is deliberate. As I understand everything starts with "I do", "I click", "I wait" etc. to make the tests 'human friendly'.
The stuff we have control over is the test name in caps at the top of the files
George is right, it is some kind on programming language or better a language to describe a behaviour.
Thanks I was just checking
Hi, they are the English descriptive files taken from the PHP tests: https://github.com/joomla/joomla-cms/blob/staging/tests/codeception/tests/acceptance/installation/InstallJoomlaCept.php and https://github.com/joomla/joomla-cms/blob/staging/tests/codeception/tests/acceptance/administrator/setDevelopmentErrorReportingCept.php
Is just a tool for help reading the tests. And is autogenerated, but the generator is not yet perfect, so we can hack them and make fix the english issues.
This is just a starting point. There is also the option of generating HTML reports. Maybe we could add also some snapshots later on too...
What are the english errors that you saw @brianteeman?
The english is "good enough" for its purpose.
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-01 11:37:45 |
Closed_By | ⇒ | wilsonge |
Milestone |
Added: |
Labels |
Removed:
?
|