Unanswered Questions
282 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
516views
Xero API Client in Django
I'm not actually that new to writing Python. But I've no formal training and have only learnt to build applications to solve problems for my job out of necessity. Starting to bring my existing skills ...
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 ...
6votes
1answer
197views
GitHub API client
Here is my Haskell program designed to list all of my GitHub repos along with their descriptions and languages via the GitHub JSON APIs:...
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
2kviews
Extract data from API using VBA & XML (Performance)
EDIT: Added a block with the raw code at the bottom (suggested by a friendly user)First post here. I sincerely hope that I am doing everything by the book. Also, I want to thank you in advance for ...
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 ...
5votes
0answers
290views
Entity component system Lua API
The destruction of the objects are handled by the garbage-collector metamethod.(Does this make sense? This means that an out-of-scope object will stay visible in game until garbage collection.)The ...
5votes
1answer
143views
Function outcome: consistent approach and easy logging
My goal is to make a consistent and easy way to determine how a function fails/succeeds. I'm looking for code review of myStatus class for any bad practices, code ...
4votes
0answers
66views
API for operators and alerts
Note: The important chunks of code are pasted in the question but the larger representation of the app is available on GitHub.Some time ago I was tasked to create a simple FastAPI app. I did manage ...










