test
test(mensagem () => void) | test(cb: () => void)
describe
describe(título DescribeOptions) | describe(mensagem () => void) | describe(cb: () => void)
it
it(mensagem () => void) | it(cb: () => void)
env
Lê um arquivo de ambiente e define as variáveis de ambiente.
skip
Você pode pular testes quando necessário:
Before and After Each
2 itens
Start Script
Execute seus scripts do package.json em um processo em segundo plano e teste-os 🧑🏻🔬
Start Service
Execute seus serviços em um processo em segundo plano e teste-os 🧑🏻🔬
Processes
4 itens
todo
O .todo é um auxiliar estendido para describe, it e test para ajudá-lo a planejar testes futuros.
only
The .only modifier enables selective execution of tests, allowing you to focus on specific describe, it, and/or test blocks by running only those marked with .only. See the usage to understand the different conditions and behaviors.
retry
retry(attempts () => void) | retry(config () => void)
List Files
Retorna todos os arquivos em um diretório (independente de sua profundidade) ou o próprio arquivo.
Log
Como por padrão o Poku só exibe saídas geradas por ele mesmo, este auxiliar permite usar uma alternativa ao console.log com o executor do Poku.