I'm considering rewriting an AutoCAD plugin built with the .NET/C# API. The current version has no unit or integration tests. Since many of the important AutoCAD objects only…
I'm considering rewriting a C#/.NET AutoCAD plugin that currently has no unit or integration tests. AutoCAD objects only exist inside the AutoCAD runtime, so testing code that directly…
I'm still learning how to write effective test cases, and I'm wondering how more experienced developers identify edge cases. Do you use a systematic way to think through…
I'm still learning how to write effective test cases, and I'm wondering how experienced developers find edge cases. Do you use a systematic way to think about what…
I'm a frontend developer who has been with my company for nearly three years and had consistently strong evaluations. I was working toward a senior-level promotion, but recently…
I'm a frontend developer with about six years of total experience and nearly three years at my current company. Until now, my evaluations had been consistently strong, and…
I'm fairly new to programming and want to understand how professional software development should be approached, independent of any particular language or technology stack. I've been working on…
Sometimes my code runs without throwing an obvious error, but the result is completely different from what I expected. I usually add print statements throughout the program and…
Sometimes my code runs without throwing an obvious error, but the result is completely different from what I expected. I usually add print statements throughout the program and…
I'm getting tired of building isolated computer science projects and would like to start contributing to open-source software. I initially looked at GoogleTest because it is a well-known…
I've been getting tired of building isolated computer science projects and would like to start contributing to open-source software. I initially looked at GoogleTest because it is a…
I've been reading about Test-Driven Development and want to know how often teams actually follow the classic red-green-refactor loop: write one failing test for a specific behavior, implement…
Diving into a large codebase filled with thousands of files can feel really overwhelming. I'm curious about strategies for understanding it better. Where should I start, and what's…
I've been exploring how to effectively unit test the performance of code and have come up with a few ideas. First, there's Big-O analysis which I've documented in…
I'm currently developing a project called Img2Num, which turns images into color-by-number templates. It relies on C++ compiled to WebAssembly using Emscripten for demanding image processing tasks, including…
I've been a JavaScript developer for my entire career, but I've just landed a Python role at a startup starting tomorrow. What are some helpful tips to make…
I'm trying to wrap my head around unit testing, but I've struggled to maintain interest or really understand why it's necessary. I do React development for creating UIs,…
I'm working with an API class that connects to IGDB, which is a video game database. There's a method named search(query) that returns a JSON object with video…
Hey everyone! I'm on the hunt for some of the top video tutorials for mastering unit testing with Jest this year. If you have any recommendations for resources…
I have a unit test where I want to pass some arguments into the test method via the TestCase decorator. The argument I need for this is of…