All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nylle.javafixture.ISpecimenBuilder Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.11.0
Show newest version
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