|
Well, yeah! Especially when they get paid by the same!
|
|
|
|
|
My current project takes over an hour to build and another hour or so to run automated tests, so hourly is out of the question.
|
|
|
|
|
What is your build doing that takes so long? How many unit tests does your build process run? Sounds like a very time consuming process.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
It's a very large project with cross compiler components and automated UI testing, which arguably needs even more coverage.
If you have a project of appreciable size and your automated tests only last seconds, I can all but guarantee that they are insufficient. (EDIT: This observation includes just unit tests as well. On any project of appreciable size, if your unit tests don't take up measurable time, you don't have sufficient coverage.)
modified 1-Feb-17 18:30pm.
|
|
|
|
|
Joe Woodbury wrote: if your unit tests don't take up measurable time That's a very vague statement. What you need to ensure is that your unit tests cover
- line coverage
- functional coverage
- conditional coverage
How long they take to run depends on many different factors.
- How many other components are invoked by the unit test
- Where those components are hosted
- Network latency
- etc etc
I have an ASP.NET Web API project that has several hundred unit tests which take <10 minutes to run. This is a multi-layered architecture with many moving parts involved. These unit tests are executed with every single check-in.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
Of course it's vague since there is no absolute correct time unit tests should run. What I'm describing is a "smell" test--that unit tests should take up some noticeable percentage of your compilation (or even checkout) time. Except for the smallest of projects, unit tests should take long enough for you to remove your hands from the keyboard.
Put another way; from my observation, most unit tests aren't comprehensive enough. Even saying that you have line coverage is a piss poor way to ensure sufficient testing. Have you covered the full logic of the object being tested?
(I ran into the last point this past week. The functions in question had full line coverage. Out of habit, I added some nonsense data to the tests. The newer function passed. The existing function, which I didn't write, faulted. This behavior wasn't documented.)
Dominic Burford wrote: which take <10 minutes to run
Sounds like they take up [human] measurable time.
|
|
|
|
|
Information Week wrote: Agile is king
But the age of kings is over...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I'll happily update/deploy hourly.
09:00 Deployed v1.6.11.
10:00 Deployed v1.6.11 again.
11:00 Deployed v1.6.11 again.
12:00 Deployed v1.6.11 again.
13:00 Lunch
14:00 Deployed v1.6.11 again.
15:00 Deployed v1.6.11 again.
16:00 Deployed v1.6.11 again.
17:00 Deployed v1.6.11 again.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Introducing small, but noticeable changes, can make the alerts more useful and harder to ignore. Because everyone appreciates stuff popping up and dancing on their screens
|
|
|
|
|
Until the user gets used to them.
OTOH, I haven't seen a security alert in so long, I honestly have no idea what one would look like.
|
|
|
|
|
Joe Woodbury wrote: Until the user gets used to them. Did you ever get used to Clippy, informing you that it looks like you are writing a letter?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Don't know since I always turned it off, but if I hadn't, I probably would have eventually tuned it out.
|
|
|
|
|
I find that jiggly/bouncing/otherwise eye-catching animations are really easy to ignore.
... After I've uninstalled the annoying cr@p.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
"Make them jiggle and twirl", he said.
CALL APOGEE, SAY AARDWOLF
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"Go ahead, make my day"
|
|
|
|
|
Quote: Make them twirl, jiggle New job for Sean?
_______________________________________________________________
Ah don't lean on me man, cause you can't afford the ticket
|
|
|
|
|
Although ransomware is the favorite attack method used against business, ad fraud malware is growing fast and poses a substantial threat to both consumers and businesses. 400 variants of ransomware? Did the Pokemon designers get involved?
|
|
|
|
|
Quote: Ad fraud malware was dominated by Kovter which is mainly targeted at Americans, with 68.64 percent of all infections occurring in the US. Damn those damned Russian and Chinese hackers!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
For the past couple of weeks I've been working on an IL (Intermediate Language) Viewer for Visual Studio Code. Because sometimes ildasm is just too far away
Besides, I can never seem to type that without an error.
|
|
|
|
|
Does ildasm run on a Mac? I think what he's saying is that since it works in VS Code, it'll also run on any platform.
Jeremy Falcon
|
|
|
|
|
Ah, very true. Also, they seem to have pulled it out of the main .NET install? I can't seem to find it anymore. Glad he wrote this anyway.
TTFN - Kent
|
|
|
|
|
It certainly gets cool points.
Jeremy Falcon
|
|
|
|
|
I think it's available in the Windows SDK now. At least it's in the WinSDK folders on my machine.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Ah, there it is, thank you.
Still, it seems to be such a waste to have to install all that for ildasm. One may as well just install dotPeek, or this.
TTFN - Kent
|
|
|
|
|
Kent Sharkey wrote: ildasm Is that the code to perk up your happiness level in DooM?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Google today announced that the code for Chrome for iOS is now part of its Chromium open source project. Does that mean they're cancelling it soon?
|
|
|
|