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
If running tests in playback mode, at least in the KeyVault client tests all the *.Samples fail because they are designed - as suitable samples - to run only against live resources. To make testing easier (i.e. can simply run all tests, e.g. Ctrl+R, A), we could define an attribute that implements ITestAction to conditionally ignore those tests rather than fail. Failing the tests has the downstream disadvantage of not being able to rerun failed tests when fixing issues in subjects under test. Perhaps we could even extend or otherwise redefine the CategoryAttribute to provide both the categories (e.g. "Live" and "Recorded") and call Assert.Ignore as needed.
The text was updated successfully, but these errors were encountered:
heaths
added
the
Client
This issue points to a problem in the data-plane of the library.
label
Aug 28, 2019
If running tests in playback mode, at least in the KeyVault client tests all the *.Samples fail because they are designed - as suitable samples - to run only against live resources. To make testing easier (i.e. can simply run all tests, e.g.
Ctrl+R, A
), we could define an attribute that implementsITestAction
to conditionally ignore those tests rather than fail. Failing the tests has the downstream disadvantage of not being able to rerun failed tests when fixing issues in subjects under test. Perhaps we could even extend or otherwise redefine theCategoryAttribute
to provide both the categories (e.g. "Live" and "Recorded") and callAssert.Ignore
as needed.The text was updated successfully, but these errors were encountered: