I'm currently investigating my options to run automated tests from within Visual Studio 2008 Professional. I noticed that the MSDN page documenting the integrated funcionality is only available for VS 2008 and VS 2005. This kind of makes me suspcious. Since we are planning to upgrade to VS 2010 I'm wondering whether I will able to continue to use my configurations and knowledge with VS 2010? Does anyone here have made any experience with this?
TIA, Thomas
No need to be nervous, the terminology around the test configuration has merely changed in VS 2010. Most of what you know is the same but resides under different product branding which causes some versioning problems in the documentation.
Most notably, "test configuration" is often referred to as "test settings" under 2010.
Microsoft moved away from silo-ed "Team Test" terminology of VS 2005/2008 to a more holistic big picture known as Microsoft Application Lifetime Management, where testing is an integrated component for delivery of successful applications. Keep in mind that most of the documentation you'll find for testing refers to the Test Manager, which ship with the Ultimate and Test editions of Visual Studio. The Test Manager ties Tests to Use Cases and Requirements and is part of that big picture.
If you're not going down the ALM big picture, the focused view of just running tests hasn't changed much at all, with the exception of some new features like Test Impact which are pretty cool.
The following links may be useful to you, as it sounds like you're interested in how the tests can be used by developers or part of your build process:
Running Automated Tests within Visual Studio
Running Automated Tests from the Command-line
Hope that helps!
Related
serviceHub.Host.CLR.x86 taking a lot of memory and CPC in my Visual Studio 2017 solution.
This causes Visual Studio to crash.
Any ideas on what the underlying cause is?
The serviceHub.Host.CLR.x86 is responsible for running some processes in the background for Visual Studio 2017/2019.
Among other features, there are three Visual Studio features that run under this process and, in some cases, cause high CPU/Memory usage. They are:
Full solution analysis.
Live Unit Testing. (only in Visual Studio Enterprise)
Code Lens. (only in Visual Studio Enterprise and Professional)
Disable these features as follows:
Full solution analysis: from Tools\Options\Text Editor\C#\Advanced (please see the remarks section if your Visual Studio 19 version is 16.5 or later)
Live Unit Testing: from Test\Live Unit Test
If the Live Unit Test is running, select Stop.
Go to Tools\Options\Live Unit Testing and disable the option Start unit Testing on solution load.
Code Lens: from Tools\Options\Text Editor\All Languages\CodeLens
This feature has a lot of options. If you like Code Lens and want to keep using it, you can enable/disable each option to check which one is stressing your computer CPU/Memory.
That's it. I hope it helps.
Remarks:
In Visual Studio 2019 version 16.5, Microsoft removed the option to disable the full solution analysis.
However, you still have the option to narrow down the analysis scope to only one document. Select the option Current Document to restrict the analysis to the current document.
This process is also executed when installing Visual Studio with the option "Install and Download" at the same time.
If the computer is not so powerful, it will consume the rest of the CPU power till gets to 100%
I am working with QTP Test automation. As QTP seeks high costly lience, my team wants to move from QTP to to arealible TEST automation Suite developer software. Our main requirments are Version Control, Source code control. I am new to Visual Studio, is GIT free of cost?
We do hardware test automation.
Please make quiick suggestions.
Thanks in advance.
Test Design Studio from Patternson Consulting is a quite high-priced but good-looking IDE alternative for QTP, see http://www.patterson-consulting.net/products/Default.aspx. (I haven´t used it ever, and I am not part of the software maker.)
It might be worth the money because the IDE appears to be much better, and it allows you to avoid using a QTP license for all development steps. Most things can be done in Test Design Studio, biggest gap seems to be .tsr file editing.
If you already have visual studio you can use the VSTS.( Coded UI).
I come from a strong Java background and in recent years have been also developing in C#.
What I can never understand is how far behind (Personal Opinion) the Visual Studio IDE's are in compared with Intelli-J IDEA and Eclipse (Java).
There have been improvements by Microsoft from VS 2005 to VS 2008, but I feel they are not quite there in terms of taking the development experience to the next level.
What I want to know is, is VS 2010 any different?
Why is it that the tools and syntax editors are so much more "evolved" in the Java IDE's.
Just to name a few:
Code Completion (Much more advance in Java IDE's)
Ant Integration (Eclipse and IDEA) vs Visual Studio Build Events
Lack of Code Repository integration in VS (Subversion and CVS) out of the box.
Lack of Advance Re-factoring Tools in Visual Studio.
Thanks.
A few points…
People tend to like what they know.
It is quicker to get up-to-speed in C# as the IDE and most of the tools / docs come from a single source.
In the Java world you have a lot more chooses, this is great for expert that spend times learning about them all, but does also lead to its own problems.
Adding ReSharper or Refactor to Visual Studio may give you what you want.
The Visual Studio debugging is great.
Visual Studio tries to make life easy for you by trying to find missing dlls etc and then storing where they are in the registry. This may be great for a 1 man project, but can often lead to build problems across developer’s machines if you are not careful. In the Java world you have to edit more config file by hand, but at least you can put these files under source code control.
There is not a small command line tool that works well on a build server that will build all types of Visual Studio projects. However in day to day usage you don’t need to learn how to use command tools, as Visual Studio hides them form you.
I think these days most programmers
are just happier with the IDE they
know best.
Note I wrote this over 6 years ago, since then C#/.Net has got a lot more complex, with lots of open source projects. Microsoft has also open sourced a lot of the .net framework. For web and server side development I expect there is now little to choose between the Java world and the .Net world. For “smart clients” .net still have a lot to offer including the new support from cross device phone development.
For multi-threaded IO, I think c# is years ahead of Java, but that could change as C# and Java keeps learning from each other...
Visual Studio has definitely been coming on over the last few years - although many of the improvements have basically been things that Eclipse has had for ages (I haven't used IDEA myself).
You may well want to look at ReSharper, which brings more goodness to Visual Studio, along with the VS2010 Productivity PowerTools.
Also, have a look at Scott Guthrie's blog series about improvements in VS2010. Lots of goodies in there.
All tools have their strengths and weaknesses - these days I'm about as happy in Visual Studio as in Eclipse... although I'm much happier writing C# than Java :) One area where Visual Studio really shines is debugging though... I find things like the VS Watch window to be much better than Eclipse's equivalent.
Visual studio 2017 is still far far behind Intellij IDEA. I'm using both and i can say that even VS2017 with ReSharper is not comparable with IDEA.
Biggest problem for me is that VS still doesn't offer usable hot reload debugging experience. I'm crying every time i have to rebuild my .NET MVC project (it is +- fast, but IIS Express load time ~ 15s EVERY time you make even the smallest change in your code).
If you want to argue with "Edit and continue" so so hotreload function - it is absolutely useless, you can't do almost any change in code without rebuilding (and everytime you have to manually break code and close opened tab with useless information).
So i'm really looking forward for full version of IntelliJ Rider bringing all super user friendly possibilities of IntelliJ IDEA to the .NET world!
I don't agree with you. I think VS is much more easy to use.
For example, when i need to create a web application. I open VS and create a new project (Web Application). After the project created, i press f5 and tadda!...
But if want to create my web application with Java, i need to install a server or some frameworks. Still i don't know how can i create a web application?
Or, Windows Application.
At VS, you don't need do any thing to create a windows based application like web application. but if i want to create windows based application with Java, i had to do something.
I think VS IDE is more user friendly than Java IDE's.
Ok, I know this isnt a programming question, but I think its really important to understand the differences to be a more productive developer...so please don't close this question!! And yes, I do feel stupid for asking this question! Have only ever worked with the Prof edition of VS 2005/2008.
Now that we have a team of 6 people, I would like to what benefits Team System would offer us over 6 licenses of VS Professional? Also, what advantages does Team Foundation Server offer?
TFS can be good if you use work items and are interested in associating source changes with these work items. Otherwise, using it for a couple of weeks at a customer (that was not using work items) just made me want to run back to subversion.
Merging UI is not very good (to be polite), the VS plug-in always wants to contact the TFS server to check for any changes of the files you're using, there are false warnings of conflicts...
Note that I am the guy that usually defends Microsoft against the Java/PHP guys, so it is very strange for me to write this...
TFS is a great source control tool for every organization. And is much advance than Visual Source Safe. It also has work item management (for tasks) simmilar to Rational software. We are using it for years and not just for .Net languages.
With the Team System version you already have a Team Explorer wherein your users can access the source control. Also Team System consists of different sub products that targets specific job functions such as Team System for Development Edition (For developers), Team System Database Edition (For database architect), Team System Architect Edition (For System Architect), and Team System Test Edition (For testers). All those subversions are included on the Team Suite edition.
For the Professional version it could also benefit to the TFS source control system if the machine is installed with Team Explorer.
The major difference between Professional & Team System is Team Foundation Server. Team Foundation Server is the massive overhaul/replacement of Visual SourceSafe. But TFS also gives you other functionality such as work item tracking and other features to manage the complete development life cycle.
Hey, thanks to all for the answers so far! I have never worked in a team/collaborative environment before, so this is a tad bit new to me. We are in the midst of acquiring a "Microsoft Visual Studio 2008 Professional Edition with MSDN Premium subscription". I know that this package gets updated to "Visual Studio 2010 Premium with MSDN" on March 22 2010.
Will I still be able to leverage collaborative efforts using this package? Is it worth the $2970 additional cost?
EDIT: We are applying for the Empower for ISVs subscription. We work mainly on SaaS/RIA solutions. Am I understanding the term "Work Item" correctly - that is if I wish to task Developer 1 with say XHTML/CSS, Developer 2 with a certain functional module, and Developer 3 with another functional module - each of these is considered a work item that can be easily tracked with VSTS?
Team system, even without team foundation server has code analysis capabilities and metrics for your code that actually quantifies how maintainable it is. For a project manager this is nirvana when trying to find out who does a great job on their code and for a developer it gives him hard facts about where to improve his code.
That being said I think Team Foundation Server might be overkill for a team of 6 people except if you are building an extremely large system.
If you are comfortable with Subversion or a different version control manager,
you are dont mind using Nunit (or alternative unit test tool) and you are
familiar with or can find the open source (or fee based) code metric tools,
and you have bug tracker in place you can save quite a bit of money on the licensing.
I have worked a lot with Team System, and at some clients, just the Pro Version.
While some of the integration TS offers is slick, I am so used to nUnit and
Subversion that I actually miss them at times when working in TS.
Now in 2010, the Ultimate edition does offer some great UML diagramming and code analysis
tools that I will miss in lower versions.
With the general public release of Visual Studio 2010 Beta 2 today, this latest version has created a lot of hype and interest.
Indeed, the opinion I've gauged is that VS 2010 has resolved a great deal of the minor flaws left over from previous versions, as well as added some particularly useful new code editor and project development tools (in particular the Premium/Ultimate versions).
My question here is: what are you favourite new features in VS 2010 that have really got you excited? Or similarly, what are the flaws of VS 2008 that you are most glad to have resolved?
There is a wealth of changes in VS 2010, of course, but these are some of the ones that have interested me most (about which I know!).
Integrated support for F# (with multi-targeting for .NET 2.0 - 4.0)/
Much improved WPF designer. The VS 2008 was more than a bit buggy at times.
Great improvements to the code editor, such as call hierarchy viewing.
A decent add-in framework.
A greatly expanded testing framework (now capable of database testing, for example) in Premium/Ultimate.
Project planning and modelling features in Premium/Ultimate.
If I could request one point/feature per post, I think that would be best, so we could vote them individually.
Visual Studio 2010's true Multi-Monitor Support sounds pretty fantastic.
The feature I'm most looking forward to having a decent play with is actually more .net 4 than visual studio. Parallel Extensions looks like it will be very interesting.
The new, clean web.config should make my managers happy.
"Just change the option in the web.config"
"Where is it?"
"Under 'AppSettings.'"
"Ugh ... there's so much junk in that file."
The built in profiler and historical debugger!
The 'Navigate To' window (Ctrl+,) is fantastic. Eclipse has something similar, and I've always thought Visual Studio needed it. Now if they would just add a 'Collapse All' button to the Solution Explorer...
One-click web publishing will be handy.
Favorite feature? Requiring 4 gigs of RAM to run it's bloat.
I liked many features
Deployment
Gated checkin
Parallel Programming
Faster debugging
Separate debugger for x86 and x64
These are just few.... The more you explore VS2010 the more you will get. Try to go through the videos by microsoft.
Thanks,
Sunil Agarwal