Mario Pareja
unread,May 18, 2011, 7:49:23 PM5/18/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to giles-contin...@googlegroups.com
Hey Folks,
I have a branch named infer_parameters in my github account (mpareja). This branch has some code to inspect the solution file and then the project files to try and identify the test assembly file name automagically. The TestAssemblyPath can, of course, still be passed in via the command line but is now optional.
Some things to note:
+ It is not bullet proof - it is just meant to handle some basic cases.
+ It uses some hard-coded heuristics to try and identify the best project. (Referenced assemblies, project names, etc.)
+ I ran into a chicken and egg problem in Program.cs: in order to init the container, I need to know the test assembly path; in order to infer the test assembly path files, I need a reference to FileSystem. At the moment, I just new-up FileSystem and pass it directly into TestAssemblyFinder.
+ I rebased this branch based on master after all of the AppDomain goodness was added, so it should be easy to pull into master.
I implemented this because I want Giles to make a good first impression. I felt a bit of friction here when trying Giles for the first time.
Let me know what you think,
Mario