algorand / algorand/go-algorand

DA: Develop testing environment

Abierto
#5,560 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Team Scytale
Lenguaje dominante
Go
Estrellas
1.4k
Forks
537
Merge medio
1 d 7 h
PR fusionados (30 d)
18

Descripción

## Summary

Since the DA is a complex process that must interpret simulation traces and communicate information back to a client, it deserves a comprehensive set of tests. This issue is to design and create a testing environment that will make constructing tests as easy as possible, while still being meaningful and powerful.

## Completion Criteria
* Have a testing environment where a mock client can initialize and talk to the DA server.
* The mock client will need to send various requests and verify the DA responds appropriately.

## Questions
Broadly speaking, we can see two ways of testing DA responses:
* Manually construct expected requests and responses.
* Record transcript between a real client and server, and replay in testing, to see if responses match what we expect.

Each has their advantage, so we may even want to implement both.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.