{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1097","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1097/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1097/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1097/events","html_url":"https://github.com/nunit/nunit/issues/1097","id":119528541,"number":1097,"title":"Can't pick up a TestFixture from the Command Line","user":{"login":"BryanBarn","id":16085839,"avatar_url":"https://avatars.githubusercontent.com/u/16085839?v=3","gravatar_id":"","url":"https://api.github.com/users/BryanBarn","html_url":"https://github.com/BryanBarn","followers_url":"https://api.github.com/users/BryanBarn/followers","following_url":"https://api.github.com/users/BryanBarn/following{/other_user}","gists_url":"https://api.github.com/users/BryanBarn/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanBarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanBarn/subscriptions","organizations_url":"https://api.github.com/users/BryanBarn/orgs","repos_url":"https://api.github.com/users/BryanBarn/repos","events_url":"https://api.github.com/users/BryanBarn/events{/privacy}","received_events_url":"https://api.github.com/users/BryanBarn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-30T16:32:31Z","updated_at":"2015-12-03T15:48:02Z","closed_at":"2015-12-02T08:42:26Z","body":"I'm having problems getting NUnit 3.0 to pick up my TestFixtures from the Command line.\r\n\r\nI have a Test Class that uses the Fixture to specify the type of browser I want to test:\r\nnamespace ReportsItems\r\n{\r\n    [TestFixture(\"Chrome\", false)] //Feed the browser and useproxy into the test as parameters\r\n    [TestFixture(\"Firefox\", false)]\r\n    [TestFixture(\"InternetExplorer\", false)]\r\n    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Assembly, AllowMultiple = true)]\r\n    public class ReportsTests : PropertyAttribute\r\n    {\r\n\t...\r\n\t\t[TestCase(TestName = \"Rep39\")]\r\n        [Category(\"Reports\"), Category(\"Daily_Report\"), Category(\"Rep39\")]\r\n        public void Daily_Report_Rep39()\r\n        {\r\n\t\t...\r\n\t\t}\r\n\t}\r\n}\r\n\r\nIn NUnit V2.6.4 I could use the run to specify the Fixture on the Command line:\r\n\"C:\\Program Files (x86)\\NUnit 2.6.4\\bin\\nunit-console.exe\" \"%cd%\\ReportsItems\\bin\\Debug\\ReportsItems.dll\" /run:ReportsItems.ReportsTests(\\\"Chrome\\\",False) /include:Reports\r\n\r\nNow I've tried various combinations in NUnit 3.0 but I can't get it to pick up the Fixture - it's running all browsers when I only want it to run Chrome browser tests.\r\n\r\n--explore shows the test name as ReportsItems.ReportsTests(\\\"Chrome\\\",False).testname\r\n\r\nI've tried combo's in the --where of name, class, method and test with regex but no joy.\r\n\r\nI don't particularly want to have to specify every test by name in a file.\r\n\r\nI'm thinking this may be a bug or functionality shortfall?"},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/161683059","html_url":"https://github.com/nunit/nunit/issues/1097#issuecomment-161683059","issue_url":"https://api.github.com/repos/nunit/nunit/issues/1097","id":161683059,"user":{"login":"oznetmaster","id":5798625,"avatar_url":"https://avatars.githubusercontent.com/u/5798625?v=3","gravatar_id":"","url":"https://api.github.com/users/oznetmaster","html_url":"https://github.com/oznetmaster","followers_url":"https://api.github.com/users/oznetmaster/followers","following_url":"https://api.github.com/users/oznetmaster/following{/other_user}","gists_url":"https://api.github.com/users/oznetmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/oznetmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oznetmaster/subscriptions","organizations_url":"https://api.github.com/users/oznetmaster/orgs","repos_url":"https://api.github.com/users/oznetmaster/repos","events_url":"https://api.github.com/users/oznetmaster/events{/privacy}","received_events_url":"https://api.github.com/users/oznetmaster/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T15:48:02Z","updated_at":"2015-12-03T15:48:02Z","body":"NUnit 3 TSL uses the .NET Regex language syntax.  /g is part of the JavaScript regex syntax.  It does not exist in  .NET Regex laguage.  There are equivalent option in the .NET syntax."}}