Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Unanswered Questions

Ask Question
231 questions with no upvoted or accepted answers
23votes
0answers
447views

Mucheck - a mutation analysis tool for Haskell programs

We have been working on a mutation analysis tool for Haskell tests called MuCheck. It accepts any Haskell source file, and a function name to mutate, applies a defined set of mutation operators on it, ...
7votes
0answers
5kviews

Cubic spline interpolation in Python from scratch

I implemented the cubic spline interpolation explained inhttps://en.wikipedia.org/wiki/Spline_interpolation as a Python class. Of course, such an interpolation should exist already in some Python ...
6votes
0answers
134views

Showing a Wikipedia article's changes as Git commits

I created a small-ish NodeJS script which takes as argument the name of a Wikipedia article (and optionally a Wikipedia edition, "en" is default) and creates a Git repository with each ...
6votes
0answers
2kviews

MSTest Data Driven Test Inline Data

Background: Didn't what to have to reference bulky 3rd party lib for inline data driven tests and wanted to use standard MS testing framework.Created helper ...
5votes
0answers
104views

Correct abstractions/organisation of a NodeJS GraphQL API

I recently did a quick take-home test for a potential job opportunity. It included building a GraphQL API with nodeJS. I am not an expert in node (mostly use Python at work) but I have used it for ...
5votes
0answers
120views

SmartUnit: Unit Testing with DI

I was thinking about how unit tests require you to manually instantiate all your dependencies, even though many of them are the same for every test or don't really matter (such as logging, where ...
5votes
0answers
181views

Using an extra mock simply to take advantage of the behaviour observation tooling

I'm writing integration for a project, but our framework doesn't provide any ability to inject dependencies, so I've written tests with a unit testing framework (GTest) and used a mock (GMock) in an ...
5votes
0answers
418views

Unit Testing Against Exceptions

I am writing a Swift library. I'm writing unit tests for that library.I am afraid that some of the code that I am testing will possibly throw exceptions. In Swift, we can handle errors, but we can ...
5votes
0answers
1kviews

Mocking the file system within a test

I've been using this method to test file-system functions as an alternative tomock-fs due to its lack of symlink support. I'd love to hear what others think and ...
4votes
0answers
235views

Fluent VBA: One Year Later

A little over a year ago, I asked for feedback on Code Review for a unit testing framework I created in VBA. Development of this project has been off and on for the past year. Sometimes I wouldn't ...
4votes
0answers
91views

Simple Markdown Blog

this is my first real website I created after learning about web development.It's amazing to me that anyone would spare their free time to code review strangers' code. So thank you in advance. I'd ...
4votes
0answers
67views

Fetching data from endpoint, retrieving coordinates, then merging into an output

I'm in no way a skilled developer (or even a developer at that!) but I did want to take a go at writing a script that fetched one endpoint's data, extracted some data, sent if off to be geocoded, then ...
4votes
0answers
120views

Testing and coding conventions for testing C with SDL

I finished my first real C project and it was Conways Game of Life. The code is working fine and the game runs. Since this was my first project though I don't know any of the real code conventions for ...
4votes
0answers
1kviews

Jest - mocking a class function from an external node module

I am writing unit tests for a NestJS service, which imports and instantiates a class (OAuth2Client) from an external module (google-auth-library) and uses one of its functions (verifyIdToken).I am ...
4votes
0answers
140views

Is there a better way to unit test a repository for a large aggregate root?

In our project we use domain-driven design and our customer aggregate root is large. The unit tests for the aggregate root itself are simple (~50 or so tests), but I am struggling with the repository ...

153050per page
1
2345
16

Unanswered Tags

javascript × 136
express.js × 25
python × 19
mongodb × 18
c# × 16
beginner × 13
typescript × 12
promise × 12
mongoose × 11
php × 9
json × 9
api × 9
python-3.x × 7
algorithm × 7
error-handling × 7
async-await × 7
rest × 7
c++ × 6
performance × 6
programming-challenge × 6
mysql × 6
functional-programming × 6
java × 5
recursion × 5
asynchronous × 5
more related tags

[8]ページ先頭

©2009-2025 Movatter.jp