def METHOD_NAME(self, tmp_txt_file):
    """
    Tests that a suite can produce JSON output to a file
    """
    return_value, errors = ComplianceChecker.run_checker(
        ds_loc=static_files("conv_bad"),
        verbose=0,
        criteria="strict",
        checker_names=["cf"],
        output_filename=tmp_txt_file,
        output_format="json",
    )
    assert os.stat(tmp_txt_file).st_size > 0
    with open(tmp_txt_file) as f:
        r = json.load(f)
        assert "cf" in r