stack-spot / stackspot-roadmap

2 stars 0 forks source link

Plugin tests (migration tests v0-v1) #14

Open MarianaPacheco1 opened 10 months ago

MarianaPacheco1 commented 10 months ago

Description

In conversations with customers (eg Natura, Localiza) the need to test the plugins created to validate the generated templates was raised. In the 'legacy' version of StackSpot there was a test command for these tests as per link test-stacks.

The command allowed the creation of test cases, mainly for plugins where it was possible to insert the project content in the target folder, simulating the application of the plugin in projects that were also not created with StackSpot, thus guaranteeing full coverage of the generated templates.

Example of use:

Image

Test Migration Code v0-v1 As many customers would like to have a quality step for the plugins created, is there a possibility of migrating the command tests to the current version of StackSpot?

That way we can pass this on to customers and also evolve internal plugins with test coverage.

Reference: https://github.com/stack-spot/product-roadmap/discussions/637

Descrição

Em conversas com clientes (ex.: Natura, Localiza) foi levantada a necessidade de realizar testes nos plugins criados para validação do templates gerados. Na versão 'legacy' da StackSpot existia o comando test para realizar esses testes conforme link test-stacks.

O comando permitia a criação de casos de testes, principalmente para plugins onde era possível inserir na pasta target o conteúdo do projeto simulando a aplicação do plugin em projetos que também não foram criados com StackSpot, assim garantindo uma total cobertura dos templates gerados.

Exemplo de uso:

Image

Migração código de testes v0-v1 Como diversos clientes gostariam de ter um passo de qualidade para os plugins criados, existe a possibilidade de migração do comando testes para versão atual da StackSpot?

Dessa forma podemos conseguir passar isso para os clientes e também evoluir os plugins internos com cobertura de testes.

Referência: https://github.com/stack-spot/product-roadmap/discussions/637

Tasks Relacionadas