{"id":15288938,"url":"https://github.com/mfaisalkhatri/configreader","last_synced_at":"2026-01-05T06:43:45.732Z","repository":{"id":57721432,"uuid":"133129769","full_name":"mfaisalkhatri/ConfigReader","owner":"mfaisalkhatri","description":"This Utility helps to read the config.properties file in a simplified way.","archived":false,"fork":false,"pushed_at":"2018-10-27T07:49:11.000Z","size":16190,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T11:30:03.693Z","etag":null,"topics":["automation","config","java","open-source","properties-loader","properties-parser","selenium-webdriver","testing","testing-tools","utility"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfaisalkhatri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-12T08:55:01.000Z","updated_at":"2022-01-13T06:10:25.000Z","dependencies_parsed_at":"2022-09-26T21:41:32.493Z","dependency_job_id":null,"html_url":"https://github.com/mfaisalkhatri/ConfigReader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FConfigReader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FConfigReader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FConfigReader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FConfigReader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfaisalkhatri","download_url":"https://codeload.github.com/mfaisalkhatri/ConfigReader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217791,"owners_count":20579297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","config","java","open-source","properties-loader","properties-parser","selenium-webdriver","testing","testing-tools","utility"],"created_at":"2024-09-30T15:54:43.472Z","updated_at":"2026-01-05T06:43:45.685Z","avatar_url":"https://github.com/mfaisalkhatri.png","language":"Java","readme":"# ConfigReader\n**A simple utility framework which can be used to read config.properties file easily.**\n\n**Getting Started**\n\n*This page includes all the information you need to get started including setup, usage, advantages, sample test.*\n\n**What to do when you need help?**\n* Discuss your queries by writing to me at: \n* Mail: mohammadfaisalkhatri@gmail.com \n* Twitter: @mfaisal_khatri \n* LinkedIn: Mohammad Faisal Khatri\n\n* If you find any issue which is bottleneck for you, search the issue tracker to see if it is already raised.\n* If not raised, then you can create a new issue with required details as mentioned in the issue template.\n\n**What you do if you like the project?**\n* Spread the word with your network.\n* Star the project to make the project popular.\n* Stay updated with the project progress by Watching it.\n\n**How to use this Framework:**\n01. Add the following dependency in your pom.xml file: \n\n```\u003c!-- https://mvnrepository.com/artifact/com.github.mfaisalkhatri/configreader --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.mfaisalkhatri\u003c/groupId\u003e\n    \u003cartifactId\u003econfigreader\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n02. Reading \"Config.Properties\" is made much simple and easy now. Check the sample code and tests below:\n```\nThis is the config file extract: \nsearchtext=Apple iphone 8\n```\n\n03. Once the dependency jar is downloaded in project, Use \"PropertiesReader\" class and get the values from the properties file in below defined way:\n```\n@Test\n\tpublic void Test() throws FileNotFoundException, IOException, Throwable {\n\n\t\tPropertiesReader prop = new PropertiesReader();\n\t\tString srch = prop.getKey(\"searchtext\");\n\t\t\n\t\tSystem.out.println(\"Value of search text key is: \" +srch);\n\t\tAssert.assertEquals(srch, \"Apple iphone 8\");\n\n\t}\n```\n\n**In the above case, Getter/Setter can also be created to get values from the properties file.**\n**Exceptions have been handled while reading file or when file is not found, so you don't have to worry, if any thing goes wrong in tests.**\n**Appropriate logs will be generated in project folder when exception is caught.**\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfaisalkhatri%2Fconfigreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfaisalkhatri%2Fconfigreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfaisalkhatri%2Fconfigreader/lists"}