|
Hi,
I recall being in the same situation 2 years ago.I had a lot of legacy code in my project and I had write unit tests for it.
I have spent hours on researching and trying different tools for the task I was given, and it was not easy to find mocking tools
that could satisfy my needs when it comes to different limitations I had which are similar to the ones you mentioned.
I have tried different ones but then found GMock and later on FakeIT, both did quite a good job but couldn't help me with
concret&static classes, private/static/virtual methods and I had to do a lot of refactoring in my code.
Researching a little more and I found Isolator ++ (which is actually free now, I had to pay back then), which amazingly took care of such cases
and saved me a lot of time...so you know where my recommendation goes to :slightly_smiling_face:
|
|
|
|
|
I guess I'm a bit late for the party. But I still think it's a useful reminder that if you want to check your application for correctness you may employ other tests as well. I.e. end-to-end tests. Might be easier to get a legacy system under test with them
|
|
|
|
|
A software developer I had worked with years ago, coded a expiry date and now the system is asking for a overhaul.
|
|
|
|
|
No, not unless that was a specification or legal requirement: I'd be well annoyed if anyone did that with me.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It is a very blurred line between an expiry date that ask you to "overhaul" the software and a nag screen that demands that you update the system. Both may allow you to continue to work but achieve the same thing and are bloody annoying.
I suspect the OP has run across an early version of an updater attempt.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
|
If your are writing it as a Software as a Service type application then yes. Its no difference than say Office 360 which is a subscription every year you have to pay for it again. If however you are just writing a widget app it either needs to be a you pay for it its yours. Now its fair to link that install to a machine where that license can ONLY run on one machine (or one at a time)
|
|
|
|
|
|
Yes; most hardware vendors are limiting their hardware's lifespan artificially. I don't see why software shouldn't.
See discussion in The Lounge[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
|
As the other user commented, legal/licensing requirement could mandate this.
Additionally over the course of time a few of the components/libraries that are used by the program might have gone through deprecation. Hence the software could do a Update Check but blocking it from using is simply unacceptable unless the first clause on licensing applies.
|
|
|
|
|
How I check his messages tht have been closed
Crystal
-- modified 16-Mar-18 4:01am.
|
|
|
|
|
Post your question at Bugs and Suggestions[^]. But you need to provide proper details of what information you are trying to find.
|
|
|
|
|
( I hope my description is clear enough)
We allow installing major versions of our application in parallel (for example, 1.0, 2.0, 3.0)
For minor versions releases, we patch the current version (for example 1.1, 2.4, 3.2 ... ) and we rename the shortcuts (start menu and desktop) to reflect the minor version (for example, app 1.1, app 2.4 )
Question:
Is there a Microsoft UX guideline saying what behavior Windows application should do in that case ?
For example, the Visual Studio shortcut will only display the major version , but not the update number , for example "Visual Studio 2015" and not "Visual Studio 2015 Update 3"
Thanks.
I'd rather be phishing!
|
|
|
|
|
I've never come across a standard convention for this (and I've been around the block a few times ). Couldn't find one either.
I have seen the convention you have noted "Visual Studio 2015" etc from other major suppliers. By the same token NUnit includes the minor e.g. 2.6.3 as does Windows Phone SDK e.g. 8.1
I'm personally not a fan of changing the shortcut just because there has been an update but I guess you have no choice if you are allowing parallel installs. However that leads me to yet another style (I won't call it a convention any more) that is common and that is to have the Start Menu folder name static with the (major) versions listed below.
Probably not a lot of help, but no-one else responded
|
|
|
|
|
|
We are currently using TFS 2015 for our CI builds. We use the Microsoft unit testing framework that ships with VS 2015 to create our unit tests and we run these as part of our TFS 2015 build process.
We'd like to extend our unit testing to include code coverage. We can't use the VS 2015 / TFS 2015 code coverage tools as these require an enterprise licence and we only have a professional licence (although we would consider upgrading if necessary).
We're looking for a code coverage tool that we can hook into our TFS 2015 build and that produces meaningful output (e.g. coverage reports). If possible it would be good if the same tool integrated into the VS 2015 IDE to give real-time coverage.
All recommendations and suggestions welcome.
"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
|
|
|
|
|
You can use the OpenCover.UI extension for code coverage check inside Visual Studio. https://visualstudiogallery.msdn.microsoft.com/6950a046-8919-4935-8542-c6f37956f688 . It supports MSTest, nUnit and xUnit.
|
|
|
|
|
Since posting my question I've decided to use dotCover from JetBrains as it has a command-line interface that we can use for automating code coverage from within our build 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
|
|
|
|
|
Hey this a general question for anyone who is an expert on voip. Want to design a program like viber, but before working with any programmers I wanted to know what initial steps and best languages to use. And if there are any shortcuts to creating it.</
|
|
|
|
|
How to create Custom Control in C#
|
|
|
|
|
|
hellos i want to develop an application that can sell buy advertise farm products online with a registration
|
|
|
|
|
|