Skip to content

Commit

Permalink
Changing the library used to read the properties files
Browse files Browse the repository at this point in the history
Signed-off-by: Haroon Sheikh <[email protected]>
  • Loading branch information
haroon-sheikh committed Sep 1, 2020
1 parent c93b9b7 commit 5190299
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
23 changes: 0 additions & 23 deletions env/_testdata/proj1/env/test/test.properties

This file was deleted.

12 changes: 0 additions & 12 deletions env/env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,6 @@ func (s *MySuite) TestLoadCustomEnvAlongWithOtherPropertiesSetInShell(c *C) {
c.Assert(os.Getenv("gauge_specs_dir"), Equals, "custom_specs_dir")
}

func (s *MySuite) TestLoadCustomEnvAlongWithOtherPropertiesSetInShells(c *C) {
os.Clearenv()
os.Setenv("gauge_reports_dir", "custom_reports_dir")
os.Setenv("gauge_specs_dir", "custom_specs_dir")
config.ProjectRoot = "_testdata/proj1"

e := LoadEnv("test")

c.Assert(e, Equals, nil)
c.Assert(os.Getenv("TEST_URL"), Equals, "http://testurl")
}

func (s *MySuite) TestLoadMultipleEnv(c *C) {
os.Clearenv()
config.ProjectRoot = "_testdata/proj2"
Expand Down

0 comments on commit 5190299

Please sign in to comment.