com.github.nylle.javafixture.ISpecimenBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javafixture Show documentation
Show all versions of javafixture Show documentation
JavaFixture is the attempt to bring Mark Seemann's AutoFixture for .NET to the Java world. Its purpose
is to generate full object graphs for use in test suites with a fluent API for customising the test objects
during generation.
package com.github.nylle.javafixture;
import java.util.function.Consumer;
import java.util.stream.Stream;
public interface ISpecimenBuilder {
T create();
Stream createMany();
Stream createMany(int size);
ISpecimenBuilder with(Consumer function);
ISpecimenBuilder with(String fieldName, Object value);
ISpecimenBuilder without(String fieldName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy