Tagged Questions
11
votes
6answers
1k views
How to Be a Software Engineer?
My problem is kind of weird so please bear with me.
I have been working in a start up concerned basically with mobile development since my graduation 2 years ago. I develop apps for iOS but it's not ...
11
votes
3answers
562 views
Is using unit tests to tell a story a good idea?
So, I have an authentication module I wrote some time ago. Now I'm seeing the errors of my way and writing unit tests for it. While writing unit tests, I have a hard time coming up with good names and ...
9
votes
2answers
1k views
design pattern for unit testing? [duplicate]
I am beginner in developing test cases, and want to follow good patterns for developing test cases rather than following some person or company's specific ideas. Some people don't make test cases and ...
5
votes
1answer
370 views
The use of Test-Driven Development in Non-Greenfield Projects?
So here is a question for you, having read some great answers to questions such as "Test-Driven Development - Convince Me".
So my question is: "Can Test-Driven Development be used effectively on ...
4
votes
1answer
171 views
What does “testing surface” mean in the context of programming?
I encountered the following text in an article on the ModelViewPresenter pattern and my brain blue-screened:
Passive View usually provides a larger testing surface than Supervising Controller ...
4
votes
3answers
301 views
When module calling gets ugly
Has this ever happened to you? You've got a suite of well designed, single-responsibility modules, covered by unit tests. In any higher-level function you code, you are (95% of the code) simply ...
3
votes
4answers
169 views
How to identify and run the most relevant automated tests?
Suppose you have a reasonably large codebase (0.5 - 1 msloc) with a large test-suite (6-7hr single-threaded runtime; with a mix of unit-tests and integration-tests built with different tools). You ...
3
votes
4answers
294 views
Testing all combinations
I need to do some performance measurements inside my application. I want to measure, change some parameters, measure again. There are different algorithms I want to test, and there are various ...
2
votes
1answer
83 views
Testing complex compositions
I have a rather large collection of classes which check and mutate a given data structure. They can be composed via the composition pattern into arbitrarily complex tree-like structures. The final ...
2
votes
2answers
118 views
Testing of visualization projects
We develop small to large visualization projects for different tasks and industries and sometimes while rewriting them a couple of times in the process we hit walls because we discover that we need to ...
2
votes
1answer
165 views
Strategy for normalising and interpreting location data
I'm a bit stuck with a problem involving the normalisation of location input data from the user (which comes from a third party).
Aim
To logically breakdown and interpret the user location input ...
0
votes
1answer
397 views
How to structure our Javascript so that it is easily editable, testable, and can make calls to render a view without knowing specifics about the view
I am working on a web app that displays some data and uses javascript.
Right now, we are serving up parts of our js (to display certain types of information, ie "Render a View") via our server which ...