Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to specify wildcard for a model file name #7

Merged
merged 1 commit into from Jul 12, 2018

Conversation

marchello2000
Copy link

The way it's implemented is as follows:

  1. During assembly load, check if a test has a wildcard for the model, e.g.
[TestModel(@"C:\RevitModels\test_models\*.rvt")]

or

[TestModel(@"C:\RevitModels\test_models\*.rfa")]
  1. Enumerate all files that match the wildcard in the specified directory
  2. For each model file found, create a separate entry for the current test with this model

The way it's implemented is as follows:
1. During assembly load, check if a test has a wildcard for the model, e.g.
```
[TestModel(@"C:\RevitModels\test_models\*.rvt")]
```
or
```
[TestModel(@"C:\RevitModels\test_models\*.rfa")]
```

2. Enumerate all files that match the wildcard in the specified directory
3. For each model file found, create a separate entry for the current test with this model
@marchello2000 marchello2000 merged commit ca86a3a into mark/Revit2019 Jul 12, 2018
@marchello2000 marchello2000 deleted the mark/regex_model_path branch July 12, 2018 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant