Component 900050
Component 900050
Jump to navigation
Jump to search
---
Facet ID: Component 900050
End Points:
SMWCKMain:
Script Path: https://smw-cindykate.com/m
Relations:
SMWCKMain:
Ask Query Sets:
AND:
- Query: "[[Property:+]][[Property constitutes::Component 900050]]"
OR:
NOT:
Graph:
Type: Graph
Configuration:
Rankdir: LR
Facet "Testing"
TDD: Domain-driven, example-drivenComponent 900050 Footnote {{#counter:footnotes}}Property "CiteRef" (as page type) with input value "Component 900050 Footnote {{#counter:footnotes}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.{{#scite:Component 900050 Footnote {{#counter:footnotes}}|type=footnote|citation text=http://exampler.com/}} Design and Documentation Development
- Derive language, practices and processes to support communication
- Embed intent
- Minimze the need for mental mapping (e.g. add sytactic sugar)
- TDD Aspect "Design"
- TDD Aspect "Documentation"
- Examples become regression tests
How do we explain our idea of a working system to the TestSystem?
- We use the DSL "RSpec" for explaing expected object behaviour
- Expressiveness by conversations "Describe it! It ..."
- Example groups in <module(s)> describe() or context() <class|module|string> [<string>]
- Learn where things live when reading the output!
- Examples in their it|specify|example() <string> [<hash> <block>]
- Example groups in <module(s)> describe() or context() <class|module|string> [<string>]
- Expressiveness by conversations "Describe it! It ..."
- We use the DSL "Cucumber" for explaing expected application/system behaviour
How does the TestSystem reason messages to us?
- Expected circumstances: throw/catch
- Exceptional circumstances: raise/rescue
Cucumber: step definitions raise or don't raise an exception
- Step-definitions interact with surface-level objects which use layers of subsurface objects
Rspec: expectations report a passing or failing match
- Built in matchers used with expect() and should(_not)
- object
- equivalence (object has expected values)
- identity (object is expected object)
- object
- custom expectation matchers
- arbitrary predicate matchers
- output formatting
--format documentation
- Errors:
- PendingExampleFixedError: "Pending for no reason"
- Built in matchers used with expect() and should(_not)