Skip to content

Commit

Permalink
tests: ignore qsv table/fmt tests for DP+ in lesson 1
Browse files Browse the repository at this point in the history
  • Loading branch information
rzmk committed Jun 14, 2024
1 parent 0adf3df commit 26438f3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_100/lesson_1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ strawberry,1.50"#;

// https://100.dathere.com/lessons/1/#viewing-raw-file-content-in-the-terminal
#[test]
#[cfg(not(feature = "datapusher_plus"))]
fn fruits_raw_fmt() {
let wrk = Workdir::new("fruits_raw_fmt");
let test_file = wrk.load_test_file("fruits.csv");
Expand Down Expand Up @@ -70,8 +71,8 @@ strawberry,1.50"#;
}

// https://100.dathere.com/lessons/1/#viewing-raw-file-content-in-the-terminal
#[cfg(feature = "polars")]
#[test]
#[cfg(feature = "polars")]
fn fruits_raw_sqlp() {
let wrk = Workdir::new("fruits_raw_sqlp");
let test_file = wrk.load_test_file("fruits.csv");
Expand All @@ -94,6 +95,7 @@ strawberry,1.50"#;

// https://100.dathere.com/lessons/1/#increasing-readability-with-qsv-table
#[test]
#[cfg(not(feature = "datapusher_plus"))]
fn fruits_table() {
let wrk = Workdir::new("fruits_table");
let test_file = wrk.load_test_file("fruits.csv");
Expand All @@ -110,6 +112,7 @@ strawberry 1.50"#;

// https://100.dathere.com/lessons/1/#exercise-1-viewing-file-content-with-tables
#[test]
#[cfg(not(feature = "datapusher_plus"))]
fn fruits_table_align_right() {
let wrk = Workdir::new("fruits_table_align_right");
let test_file = wrk.load_test_file("fruits.csv");
Expand All @@ -126,6 +129,7 @@ strawberry 1.50"#;

// https://100.dathere.com/lessons/1/#exercise-1-viewing-file-content-with-tables
#[test]
#[cfg(not(feature = "datapusher_plus"))]
fn fruits_extended_table() {
let wrk = Workdir::new("fruits_extended_table");
let test_file = wrk.load_test_file("fruits_extended.csv");
Expand All @@ -148,6 +152,7 @@ pear 2.20 medium out of stock"#;

// https://100.dathere.com/lessons/1/#exercise-1-viewing-file-content-with-tables
#[test]
#[cfg(not(feature = "datapusher_plus"))]
fn fruits_extended_table_width() {
let wrk = Workdir::new("fruits_extended_table_width");
let test_file = wrk.load_test_file("fruits_extended.csv");
Expand All @@ -170,6 +175,7 @@ pear 2.20 medium out of stock"#

// https://100.dathere.com/lessons/1/#exercise-1-viewing-file-content-with-tables
#[test]
#[cfg(not(feature = "datapusher_plus"))]
fn fruits_extended_table_pad() {
let wrk = Workdir::new("fruits_extended_table_pad");
let test_file = wrk.load_test_file("fruits_extended.csv");
Expand All @@ -192,6 +198,7 @@ pear 2.20 medium

// https://100.dathere.com/lessons/1/#exercise-1-viewing-file-content-with-tables
#[test]
#[cfg(not(feature = "datapusher_plus"))]
fn fruits_extended_table_condense() {
let wrk = Workdir::new("fruits_extended_table_condense");
let test_file = wrk.load_test_file("fruits_extended.csv");
Expand Down

0 comments on commit 26438f3

Please sign in to comment.