Schematics testing infrastructure: compare Trees, copy Trees
- Linguagem predominante
- TypeScript
- Estrelas
- 27k
- Forks
- 11.8k
- Merge médio
- 14h 23min
- PRs com merge (30d)
- 162
Descrição
### Bug Report or Feature Request (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [x] feature request
```
### Desired functionality
When unit testing a schematic or a rule, I have sometimes found that it would be convenient if I could take two trees and compare them. Or at least ask whether the two trees are equivalent.
As part of this, it would also be convenient if there was some Tree-copying function - specifically for checking that a Tree has _not_ changed after some Rule call, but possibly for other cases as well.
Guia de contribuição
Direção de pesquisa
Comece examinando a infraestrutura de testes do Schematics e as APIs Tree e Rule referenciadas na issue. Determine como a equivalência e a cópia de árvores devem se comportar e, em seguida, adicione cobertura mostrando que árvores equivalentes são comparadas com sucesso e que uma árvore copiada pode ser verificada quanto a alterações após uma chamada de uma regra.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- testing, tooling
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100