Skip to content

mercadona/snapshottest_ext

 
 

Repository files navigation

snapshottest_ext

extra formatter for snapshottest

Usage

# use with pytest
import pandas as pd
from dataframe import PandasSnapshot
def test_format(snapshot):
    df = pd.DataFrame([['a', 'b'], ['c', 'd']],
                      columns=['col 1', 'col 2'])
    snapshot.assert_match(PandasSnapshot(df))

About

snapshottest pandas dataframe

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.7%
  • Makefile 1.7%
  • Dockerfile 1.6%