Skip to content

assay-it/blueprint-suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blueprint: Behavior as a Code Suite

A minimal quality assessment using Behavior as a Code with https://assay.it


Quality assurance of serverless applications is more complex than doing it for other runtimes. Engineering teams spend twice as much time maintaining testing environments and mocks of cloud dependencies instead of building a loyal relationship with their customers, assay.it has you covered.

https://assay.it is a Software as a Service for developers to perform formal proofs of quality using type safe Behavior as a Code. It automates validation of cause-and-effect in loosely coupled topologies such as serverless applications, microservices and other systems that rely on interface syntaxes and its behaviors. It emphasizes deployment and quality assessment as a key feature along the development pipelines. Continuous proofs of the quality helps to eliminate defects at earlier phases of the feature lifecycle. It impacts on engineering teams philosophy and commitments, ensuring that your microservice(s) are always in a release-ready state.

Getting Started

  1. Sign up for assay.it with your GitHub developer account. Initially, the service requires only access to your public profile, public repositories and access to commit status of connected repositories. Later, you can enable quality assessments of private repositories.

  2. Fork assay-it/blueprint-suite to your own GitHub account and then add to the assay.it workspace. The example implements a minimal quality assessment suite using category pattern to connect cause-and-effect (Given/When/Then) with the networking concepts (Input/Process/Output). Just write pure functional code instead of clicking through UI or maintaining endless XML, YAML or JSON documents.

func TestOk() assay.Arrow {
  return http.Join(
    ø.GET("https://assay.it"),
    ƒ.Code(http.StatusCodeOK),
    ƒ.Header("Content-Type").Is("text/html"),
  )
}
  1. Launch the quality assessment through the user interface. The service schedules the job and returns results of assessments in a few seconds. Here, a manual job trigger is used for ad-hoc and illustration purposes. assay.it supports integration with CI/CD so that continuous quality evaluation is a part of the development culture.

  2. Sign Up to https://assay.it

  3. Fork the repository to your GitHub account

  4. Go To Account > Setting and Integrate your fork (sample.assay.it) with https://assay.it

  5. Run the interface assessment

Let's have a look on the content of repository:

  • suite.go implements a minimal quality assessment contract of the service.
  • .assay.json configuration file, it declares what suites shall be executed.

Further Reading

Please continue to the core sections for details about Behavior as a Code development and see our advanced example on GitHub.

Issues

If you experience any issues with this example, please let us know via GitHub issues. We appreciate detailed and accurate reports that help us to identity, replicate the issue and advise your with the solution.

License

See LICENSE