Facet "Testing"

From SMW CindyKate - Main
Component 900050
Jump to: navigation, search
SMW CindyKate Main


[edit]
Facet type Facet
Domain

Show facet/graph

Facet "Testing" is constituted by properties... ...having values
Builds and controls Any value(s)
Clones from github Any value(s)
Loads features from Any value(s)
Placed onto Any value(s)
Provisions applying role Any value(s)
Provisions by applying role Any value(s)


---
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-driven1

Design and Documentation Development

  1. Derive language, practices and processes to support communication
  2. Embed intent
  3. Minimze the need for mental mapping (e.g. add sytactic sugar)
  4. TDD Aspect "Design"
  5. TDD Aspect "Documentation"
  6. Examples become regression tests

How do we explain our idea of a working system to the TestSystem?

  1. We use the DSL "RSpec" for explaing expected Discuss UseCase "Manage MediaWiki-centric enterprise knowledge management"
  2. We use the DSL "Cucumber" for explaing expected Discuss UseCase "Manage MediaWiki-centric enterprise knowledge management"

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

State-based expectations

Interaction-based expectation (Mocks)

References