Version 3.1 Released
Hello, Sorry, I never pursued this ability. I'm sure it can be done since the framework exposes hooks throughout the testing process. However, it isnt' something I will be looking in to.
Version 3.0 Released
Version 3.0 Released
Version 3.0 Released
Hello, I suspect you don't have the error-trapping setting in your VB IDE set correctly. Here is the wiki page describing it
chore(BigInteger): code cleanup.
chore(Mathematics): code cleanup of Release methods.
chore(Mathematics): code cleanup.
refactor(Mathematics): remove dependency on LeftShift16 function.
refactor(Mathematics): remove dependency on GetInt function.
refactor(Mathematics): remove dependency on GetLong function.
chore(CorLib): move BigInteger and related files to System.Numerics folder.
feat(BigInteger): add IFormattable interface support.
fix(BigInteger): precision was not correct when high-bytes are set.
chore(test): delete unused tests.
test(BigInteger): convert tests.
fix(Directory): was not correctly validating search pattern.
refactor(Directory): code clean up.
chore(Encoding): remove unused methods.
chore(all): remove unused Encoding and Decoder and associated tests.
test(StreamReader): add tests to cover determining encoding.
chore(tests): delete unused test fixture.
refactor(all): change parameter order of ListRange factory methods.
refactor(all): remove unnecessary and redundant methods.
refactor(all): consolidated range parameter construction. removed unused methods.
refactor(Argument): remove unused methods.
refactor(all): remove dependency on GetOptionalListRange and remove method.
refactor(all): remove dependency on ValidateCharArray and remove method.
refactor(all): remove dependency on ValidateCharArrayOptionalRange and remove method.
refactor(all): remove dependency on ValidateCharArrayRange and remove method.
refactor(all): remove dependency on ValidateByteArrayOptionalRange and remove method.
refactor(all): remove dependency on ValidateByteArrayRange and remove method.
refactor(all): remove dependency on ValidateOptionalArrayRange and remove method.
refactor(all): remove dependency on ValidateByteArray and remove method.
fix(RSACryptoServiceProvider): SignHash was throwing parameter name "RbgHash" instead of "RgbHash".
fix(SortedListTests): change CopyTo_WithNullArray_ThrowsArgumentNullException test to use vbLong array instead of object array to reflect change in CorArray.IsNull behavior.
fix(Buffer): add array validation to methods.
fix(CorArray): update Length and Rank to validate array parameter manually.
refactor(RSACryptoServiceProvider): clean up code.
test(DSACryptoServiceProvider): add updated tests for provider and related classes.
fix(CorString): a null set of characters to check for in IndexOfAny method could cause a memory leak.
chore(Tests): update JulianCalendar tests.
feat(Calendar): add IsReadOnly, AlgorithmType, DaysInYearBeforeMinSupportedYear, and Clone methods.
feat(Encoding): implement ICloneable in encoding classes.
refactor(GregorianCalendar): clean up class and documentation.
tests(GregorianCalendar): add tests for calendar.
feat(Calendar): add MinSupportedDateTime and MaxSupportedDateTime to Calendar interface.
refactor(all): move FileFlagHelper module methods to associated classes. removed unused module.
refactor(all): remove dependency on CorArray.ArrayPointer.
chore(all): rename modules removing 'mod' prefix.
feat(Encoding): add DBCSCodePageEncoding for improved 2-byte encoding support.
chore(Encoding): implement single-byte encoding support.
SimplyVBUnit is only a unit-testing framework. It provides the ability to run your defined tests and allows you to perform assertions on expected results within the tests. It doesn't facilitate any connections with services. If you want your tests to connect to services, SimplyVBUnit does not prevent that, but you'll have to connect to your services yourself.
You were on the right track. Here is how to add test cases like you want. Private Sub ITestFixture_GetTestCases(ByVal Test As SimplyVBComp.TestFixtureBuilder) Test.Add("TestCase1").Use "arg" Test.Add("TestCase2").Use "arg" Test.Add("TestCase3").Use "arg" Test.Add("TestCase4").Use "arg" End Sub It's very similar to the ITestCaseSource implementation.
Hi Zoran, SimplyVBUnit descovers tests within a class by querying the COM interface. When running in the IDE the IDE gives all classes a public interface within that context and so SimplyVBUnit can find the methods. Unfortunately, once an EXE is compiled all classes are turned private and even though you manually add an instance of the test classes in the form_load event, the methods are private, so SimplyVBUnit cannot descover them. There are no easy options if you're trying to keep everything in...
chore(all): change all constructor strings and variant parameters to ByRef.
doc(StringComparer): add documentation for StringComparer and StringComparerStatic classes.
chore(CharAllocation): improved char array mapping by adding a reserved fastlane allocation.
doc(all): added an alpha prerelease doc.
chore(doc): update README.TXT
feat(BinaryReader): add option to leave base stream open when closing reader and close reader on Class_Terminate.
test(BinaryReader): ensure ReadChar fails correctly when reading surrogate.
fix(BinaryReader): ReadChars and ReadBytes now return zero-length arrays when no data is available instead of throwing an exception.
fix(CultureInfo): bring tests in alignment with region.
fix(SymmetricAlgorithmBase): Mode and Padding properties not throwing correct exception.
fix(BinaryReader): was not correctly using Decoder causing subscript out of range error.
chore(all): removed CorArray.LengthFirstDim calls in favor of Len1D.
chore(all): remove unused duplicate code.
feat(UTF8Encoding): implement serialization.
chore(UTF8Encoding): extend GetCharCount to decode chars for GetChars.
chore(UTF8Encoding): clean up GetString method.
chore(UTF8Encoding): re-implement GetCharCount and update GetChar methods to correctly allocate resulting char array.
Hello, When installing VB6 the location of the projects template folder is stored in the registery. This is where I pull it from at this registry key: HKCU\Software\Microsoft\Visual Basic\6.0 -> value:TemplatesDirectory. I'm thinking maybe there is a security issue with either accessing the registery entry or writing to the templates folder. I've done several installs on Windows 10 with UAC set to the default and have never had an issue. The other possibility might be that the template location is...
refactor(UTF8Encoding): move duplicate code to ...
chore(UTF8Encoding): add Encoder support to Get...
refactor(UTF8Encoder): remove dependency from U...
chore(UTF8Encoding): re-implement GetBytes by e...
chore(UTF8Encoding): re-implemented GetByteCoun...
fix(UTF7Encoding): reset decoder state when flu...
chore(TextReader): update license.
chore(Encoding): ensure correctness with valida...
fix(StringBuilder): replace error checking from...
chore(UTF7Decoder): finish implementation.
perf(Encodings): move fixed-size array declarat...
chore(UTF7Encoding): implement DecoderFallback ...
fix(UTF7Encoding): GetChars fails when the outp...
chore(UTF7Encoder): must include file when chec...
refactor(UTF7Encoding): replace inner while loo...
test(UTF7Encoding): add GetByteCount tests.
refactor(UTF7Encoding): update validation to co...
chore(all): remove CLong usage and method.
chore(Encodings): replace hardcoded values with...
chore(all): code clean up.
chore(DefaultEncoder): finish DefaultEncoder im...
chore(ASCIIEncoding): make ASCIIEncoding serial...
chore(ASCIIEncoding): add optimized GetBytes ve...
chore(ASCIIEncoding): re-implement basic GetByt...
refactor(Char): optimized surrogate checkers by...
chore(doc): more documentation