Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

200
Visualizações
Testcafe - reporter does not read options from testcaferc.json

I've been scratching my head with this for quite a while. I want to move the reporter options from my cli/package.json command into the testcaferc.json file, e.g.

"test:chrome:all": "testcafe chrome:headless ./src/tests/*test.ts --skip-js-errors --concurrency 4"

testcaferc.json:

"reporter": [
    {
      "name": "json"
    },
    {
      "output": "./artifacts/reports",
      "pathPattern": "${DATE}/${USERAGENT}/${TIME}/${FIXTURE}/${TEST}.json"
    }

However when i run my script it doesn't pick up these options and therefore doesn't create the report in the specified directory.

However if I include the --reporter json command in my cli, e.g.

"test:chrome:all": "testcafe chrome:headless ./src/tests/*test.ts --reporter json:./artifacts/reports/chrome_results.json --skip-js-errors --concurrency 4"

When I run the test, it states The "reporter" options from the configuration file will be ignored. and the report is created correctly.

So it can see them but just doesn't use them when not including --reporter json in the cli

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This behavior is a bug. There is a corresponding issue in the TestCafe GitHub repository: https://github.com/DevExpress/testcafe/issues/6665

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda