Best of TestingJuly 2021

  1. 1
    Article
    Avatar of rubylaRUBYLAND·5y

    How to have a productive programming day

    productivity is not about ‘hustling’, it’s simply about not being wasteful with my time. Here are some high-level productivity tips I’ve learned over the years. Get up early and go to bed early. When possible, exercise before work. Don’t eat too much.

  2. 2
    Article
    Avatar of devtoDEV·5y

    Why you might not want to use TDD?

    Test Driven Development (TDD) is a way of writing code that is tested by thousands of engineers around the world. The process is fairly simple: write a test, write the simplest possible code, and refactor both. The more experience you have, the more difficult TDD is at the beginning because you have acquired different habits.

  3. 3
    Article
    Avatar of devtoDEV·5y

    How to write unit tests in JavaScript with Jest

    Jest is a JavaScript testing framework designed to make testing as easy as possible. It provides all the essential tools for running tests, making assertions, mocking implementations, and more in a single package. It's near-zero configuration approach makes it simple to set up, and a familiar API makes writing tests fairly straightforward.

  4. 4
    Article
    Avatar of devgeniusDev Genius·5y

    Best Practices For Securing Web Applications in 2021

    Web application vulnerabilities were the cause of 43% of data breaches in 2019. 79% of organizations intentionally pushed vulnerable code to production. Most web applications use third-party open source components, which must be scanned on an ongoing basis. The most powerful security technique in web development is to think about security in all, even smallest, details.

  5. 5
    Article
    Avatar of ossOpen Source Way·5y

    How I avoid breaking functionality when modifying legacy code | Opensource.com

    Software engineers tend to skim code to quickly identify relevant portions. When writing code from scratch, many developers tend to write long functions. Bunching code up makes it easier to read and reason about on the first pass and debug. If you cram all capabilities an object can offer into a single, giant function, later, when you're trying to utilize that object, IDEs will be of no help.

  6. 6
    Article
    Avatar of changelogChangelog·5y

    trimstray/the-book-of-secret-knowledge: A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

    A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools, and more. Aimed towards System and Network administrators, DevOps, Pentesters, and Security Researchers. New items are also added on a regular basis.

  7. 7
    Article
    Avatar of smashingSmashing Magazine·5y

    It’s A (Front-End Testing) Trap! Six Common Testing Pitfalls And How To Solve Them — Smashing Magazine

    When writing front-end tests, you’ll find a lot of pitfalls along the way. They can lead to lousy maintainability, slow execution time, and — in the worst case — tests you cannot trust. But it doesn’t have to be that way. In this article, I will talk about common mistakes developers make, at least in my experience, and, of course, how to avoid them.