• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jan-molak / serenity-js / 113
90%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2017 10:16PM UTC
Jobs 1
Files 77
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
113

push

travis-ci

jan-molak
refactor(core): Domain classes represent the domain concepts better

- `Performable` is really an `Activity` that an `Actor` can perform, therefore it should be called as such.
- What used to be an `Activity` is now a `RecordedActivity`. `RecordedActivity` is just a "tiny type", that captures the name of the real `Activity` and works alongside with `Outcome` to capture the result and other meta data related to the performance.
- To make the model consistent, `Scene` is now a `RecordedScene`
- To help distinguish `RecordedActivity` related to a `Task` and `Interaction`, the `@step()` annotation can now take an optional second arugment `ActivityType.Task` or `ActivityType.Interaction`. A `@step` that doesn't specify its type is considerd to be of type `Task` by default as 90% of time you'll be writing Tasks not Interactions.
- The distinction between a `RecordedTask` and `RecordedInteraction` will help to make the configuration of the `Photographer` more fine-grained, so that we could for example tell it to only capture screenshots of interactions rather than all the tasks. This will also help to enable the granularity needed for #18.
- `See` and `CompareNotes` are now `Interactions` rather than generic `Activities` (pretending to be `Tasks`), as performing an assertion is also an interaction with the system. No need for special treatment of those two classes.
- The `Interaction` interface is also corrected to allow for `Actors` that `UseAbilities` but also `AnswerQuestions`

Those changes should not affect the consumers of the Serenity/JS APIs and will help tackle the tech debt before it spreads ;-)

Enables #18, #22, #23

93 of 93 new or added lines in 27 files covered. (100.0%)

1244 of 1271 relevant lines covered (97.88%)

35.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 113.1 12 Feb 2017 10:16PM UTC 0
97.88
Travis Job 113.1
Source Files on build 113
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #113
  • 74c1ab25 on github
  • Prev Build on master (#112)
  • Next Build on master (#114)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc