Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Cap. 27 – Testes & Benchmarks – 6. Cobertura
Play lesson

Aprenda Go 🇧🇷 - Cap. 27 – Testes & Benchmarks – 6. Cobertura

5.0 (2)
47 learners

What you'll learn

This course includes

  • 21.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Aprenda Go 🇧🇷 Cap. 27 – Testes & Benchmarks – 6. Cobertura

Cap. 27 – Testes & Benchmarks – 6. Cobertura Transcript and Lesson Notes

- "Cobertura" em se tratando de testes se refere a quanto do seu código, percentualmente, está sendo testado. (E antes que alguem fique neurótico querendo 100%: em geral, 70-80% tá ótimo.) - A flag -cover faz a análise d

Quick Summary

- "Cobertura" em se tratando de testes se refere a quanto do seu código, percentualmente, está sendo testado. (E antes que alguem fique neurótico querendo 100%: em geral, 70-80% tá ótimo.) - A flag -cover faz a análise d

Key Takeaways

  • Review the core idea: - "Cobertura" em se tratando de testes se refere a quanto do seu código, percentualmente, está sendo testado. (E antes que alguem fique neurótico querendo 100%: em geral, 70-80% tá ótimo.) - A flag -cover faz a análise d
  • Understand how programar fits into Cap. 27 – Testes & Benchmarks – 6. Cobertura.
  • Understand how programação fits into Cap. 27 – Testes & Benchmarks – 6. Cobertura.
  • Understand how programacao fits into Cap. 27 – Testes & Benchmarks – 6. Cobertura.
  • Understand how go fits into Cap. 27 – Testes & Benchmarks – 6. Cobertura.

Key Concepts

Full Transcript

- "Cobertura" em se tratando de testes se refere a quanto do seu código, percentualmente, está sendo testado. (E antes que alguem fique neurótico querendo 100%: em geral, 70-80% tá ótimo.) - A flag -cover faz a análise de cobertura do nosso código. - Podemos utilizar a flag -coverprofile [arquivo] para salvar a análise de cobertura em um arquivo. - Na prática: - go test -cover - go test -coverprofile c.out - go tool cover -html=c.out ← abre no browser - go tool cover -h ← para mais detalhes

Lesson FAQs

What is Cap. 27 – Testes & Benchmarks – 6. Cobertura about?

- "Cobertura" em se tratando de testes se refere a quanto do seu código, percentualmente, está sendo testado. (E antes que alguem fique neurótico querendo 100%: em geral, 70-80% tá ótimo.) - A flag -cover faz a análise d

What key concepts are covered in this lesson?

The lesson covers programar, programação, programacao, go, golang.

What should I learn before Cap. 27 – Testes & Benchmarks – 6. Cobertura?

Review the previous lessons in Aprenda Go 🇧🇷, then use the transcript and key concepts on this page to fill any gaps.

How can I practice after this lesson?

Practice by applying the main concepts: programar, programação, programacao, go.

Does this lesson include a transcript?

Yes. The full transcript is visible on this page in indexable HTML sections.

Is this lesson free?

Yes. CourseHive lessons and courses are available to learn online for free.

Continue Learning

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Lessons

Related Courses

FAQs

Course Hive
Download CourseHive and keep learning anywhere
Get App