Newest Questions
64,221 questions
0
votes
3
answers
31
views
Code reusability/inheritance introduces pointless testing
Say I have a bunch of classes that imitate cars: SportsCar, Truck, and SUV. All of these classes share some public methods like start() and stop() which they inherit from an abstract class Car. While ...
0
votes
0
answers
11
views
Python: mapping the content of a structured text file to dictionary tree
I'm looking for a method to map the content of a structured text file to a nested dictionary (dictionary tree). The text file consists of (nested) sections with each section starting with the pattern ...
1
vote
1
answer
224
views
Is a "dynamically-linked executable" ever referred to as that?
Example
When I run file on android-studio/bin/studio, I see:
android-studio/bin/studio: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64....
1
vote
2
answers
56
views
Automation of workflow for automated testing
What are your opinions on writing "production" code to facilitate testing?
Specifically, the use case is this: we have a system with a multiple step workflow, where a few stages are done by ...
6
votes
7
answers
1k
views
How can you predict with any accuracy the number of hours needed to develop an app
I'm a university student, but I don't come from an engineering or programming background. I'm doing an academic assignment where I need to estimate how long it would take to develop a website for a ...
0
votes
2
answers
45
views
Is it possible to do black box tests when I inject dependencies in the class?
This is my case.
I have a class in which I inject a service as dependency, an IService.
I want to test one method of this class. This method use one of the methods of the service.
Now I want to test ...
-1
votes
1
answer
44
views
Complex domain problem to be modeled with DDD
There is a case management application.
New requirements want to add statuses to cases.
The case will go through a series of statuses until completion.
Each case belongs to a case type. There are many ...
0
votes
4
answers
158
views
Why is a test coverage type called "code coverage"?
Test coverage is a pretty straightforward term which doesn't need any explanation: how much is something "covered" by tests. Similarly you would use for example snow coverage, to say how ...
0
votes
0
answers
47
views
How to test load balanced ASP Core based website?
I have a simple ASP Core based website that is connected to my local SQL Server Express, some of the third party plugins used, do have reliance on other products i.e. scheduling timers.
I would like ...
0
votes
1
answer
115
views
Relationship between monolithic architecture and n-tier
I am confused about the relationship between monolithic and n-tier architecture (I have only analyzed 1, 2, 3 levels and tiers).
Since n-tier architecture divides the application into logical layers (...
1
vote
2
answers
229
views
Should you ever have one-to-one relationships between entities?
One-to-one relationships occasionally evolve into one-to-many relationships. Once that happens, your team has a tricky job of refactoring the datastore, the backend to allow that change.
For example, ...
5
votes
2
answers
982
views
Repository and Service Interfaces in an Accounting Software in Go with Uncle Bob's Clean Architecture
I'm trying to get hands-on experience with Uncle Bob's Clean Architecture in Go, but I'm running into some issues. Also, I'm not yet familiar with all of Go's idioms.
For testing purposes, I'm ...
1
vote
4
answers
166
views
Can we consider each microservice as a “small monolith” application? [closed]
I'm just getting started with software architectural patterns.
I first analyzed the difference between monolithic architecture and microservice architecture and I had a doubt.
Below I report the ...
1
vote
1
answer
44
views
What multicast guarantees does passive replication provide?
I know that active replication provides a total ordered multicast (atomic multicast) but what does passive replication provide ?
12
votes
4
answers
2k
views
Is the separation of a database process from the main backend process really "good practice"?
In our current architecture, we have a React frontend communicating with a Rust backend via REST calls. We are considering introducing a PostgreSQL database, and my colleague suggests that we should ...