You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, as I'm looking at this one, I'm a bit stuck with writing the test
public with_scoped_descriptors(){
given_current_directory_repository(new CurrentDirectoryRepository());
Environment.Descriptor.Name ="package";
Environment.Descriptor.Version ="1.0.0".ToVersion();
Environment.Descriptor.Build.Add("files; file=bin-net35->test.txt");
given_file("test.txt",new MemoryStream(newbyte[]{0x0}));
Environment.GetOrCreateScopedDescriptor("tests");
Environment.GetOrCreateScopedDescriptor("other");
when_executing_command("");}[Test]publicvoidshould_include_scoped_descriptors(){varpackageInfo= Environment.CurrentDirectoryRepository.PackagesByName["package"].First();varcontent= packageInfo.Load().Content;
... and now what is the way to reach for scoped descriptors?}
The original descriptor does not manifest itself as a file in content, so should the scoped descriptors do that?
If i call o build-wrap, the resulting wrap does not include my .tests.wrapdesc file, only the non-scoped descriptor.
The text was updated successfully, but these errors were encountered: