Documentation ¶
Index ¶
- func Fluent[T any](t *testing.T) fluent.IFluent[T, IComparable[T]]
- type Additional
- type Comparable
- func (s *Comparable[T]) BeOfType(typeName reflect.Type) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) HaveAllFieldsWithTag(tagName string) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) HaveAllOfMembers(membersNames []string) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) HaveAnyOfMembers(membersNames []string) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) HaveField(fieldName string) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) HaveFieldWithTag(fieldName string, tagName string) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) HaveMember(memberName string) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) HaveMethod(methodName string) f.IAdditional[T, IComparable[T]]
- func (s *Comparable[T]) NotBeOfType(typeName reflect.Type) f.IAdditional[T, IComparable[T]]
- type FluentT
- type IComparable
- type Subject
- type Testable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Additional ¶
type Additional[T any] struct { *Comparable[T] }
func (*Additional[T]) And ¶
func (s *Additional[T]) And() IComparable[T]
type Comparable ¶
func (*Comparable[T]) BeOfType ¶
func (s *Comparable[T]) BeOfType(typeName reflect.Type) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) HaveAllFieldsWithTag ¶
func (s *Comparable[T]) HaveAllFieldsWithTag(tagName string) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) HaveAllOfMembers ¶
func (s *Comparable[T]) HaveAllOfMembers(membersNames []string) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) HaveAnyOfMembers ¶
func (s *Comparable[T]) HaveAnyOfMembers(membersNames []string) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) HaveField ¶
func (s *Comparable[T]) HaveField(fieldName string) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) HaveFieldWithTag ¶
func (s *Comparable[T]) HaveFieldWithTag(fieldName string, tagName string) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) HaveMember ¶
func (s *Comparable[T]) HaveMember(memberName string) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) HaveMethod ¶
func (s *Comparable[T]) HaveMethod(methodName string) f.IAdditional[T, IComparable[T]]
func (*Comparable[T]) NotBeOfType ¶
func (s *Comparable[T]) NotBeOfType(typeName reflect.Type) f.IAdditional[T, IComparable[T]]
type IComparable ¶
type IComparable[T any] interface { fluent.IComparable[T] BeOfType(typeName reflect.Type) fluent.IAdditional[T, IComparable[T]] NotBeOfType(typeName reflect.Type) fluent.IAdditional[T, IComparable[T]] HaveMember(memberName string) fluent.IAdditional[T, IComparable[T]] HaveField(fieldName string) fluent.IAdditional[T, IComparable[T]] HaveFieldWithTag(fieldName string, tagName string) fluent.IAdditional[T, IComparable[T]] HaveAllFieldsWithTag(tagName string) fluent.IAdditional[T, IComparable[T]] HaveMethod(methodName string) fluent.IAdditional[T, IComparable[T]] HaveAnyOfMembers(membersNames []string) fluent.IAdditional[T, IComparable[T]] HaveAllOfMembers(membersNames []string) fluent.IAdditional[T, IComparable[T]] }
Click to show internal directories.
Click to hide internal directories.