diff --git a/.gitignore b/.gitignore index 74c4182..792353d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ _site Gemfile.lock vendor /docs/ +_draft ### Gulp ### package.json diff --git a/404.html b/404.html deleted file mode 100644 index 086a5c9..0000000 --- a/404.html +++ /dev/null @@ -1,25 +0,0 @@ ---- -permalink: /404.html -layout: default ---- - - - -
-

404

- -

Page not found :(

-

The requested page could not be found.

-
diff --git a/categories/.DS_Store b/_articles/.DS_Store similarity index 100% rename from categories/.DS_Store rename to _articles/.DS_Store diff --git a/_posts/2020-09-06-all-test-cases-should-be-independent.md b/_articles/2020-09-06-all-test-cases-should-be-independent.md similarity index 95% rename from _posts/2020-09-06-all-test-cases-should-be-independent.md rename to _articles/2020-09-06-all-test-cases-should-be-independent.md index e8f6c91..8e3c0bd 100644 --- a/_posts/2020-09-06-all-test-cases-should-be-independent.md +++ b/_articles/2020-09-06-all-test-cases-should-be-independent.md @@ -1,7 +1,9 @@ --- +layout: article title: 'All test cases should be independent' description: 'We will explore why independent tests is a good practice and how to achieve this.' -categories: [general, good-practices] +categories: [ good-practices] +permalink: /:categories/:title/ author: alex_zhukovich --- diff --git a/_posts/2020-09-06-approaches-of-ui-testing.md b/_articles/2020-09-06-approaches-of-ui-testing.md similarity index 97% rename from _posts/2020-09-06-approaches-of-ui-testing.md rename to _articles/2020-09-06-approaches-of-ui-testing.md index d8cd619..5927f36 100644 --- a/_posts/2020-09-06-approaches-of-ui-testing.md +++ b/_articles/2020-09-06-approaches-of-ui-testing.md @@ -1,7 +1,9 @@ --- +layout: article title: 'Approaches of UI testing' description: 'Different ways of UI testing can be done: manual testing, record-and-replay testing, and model-based testing. We will explore the pros and cons of each approach.' -categories: [general, ui-testing] +permalink: /:categories/:title/ +categories: [ ui-testing] author: alex_zhukovich --- diff --git a/_posts/2020-09-06-naming-conventions-for-test-cases.md b/_articles/2020-09-06-naming-conventions-for-test-cases.md similarity index 96% rename from _posts/2020-09-06-naming-conventions-for-test-cases.md rename to _articles/2020-09-06-naming-conventions-for-test-cases.md index 7b93c03..c303b77 100644 --- a/_posts/2020-09-06-naming-conventions-for-test-cases.md +++ b/_articles/2020-09-06-naming-conventions-for-test-cases.md @@ -1,7 +1,9 @@ --- +layout: article title: 'Naming conventions for test cases' description: 'We will explore different naming conventions for test cases.' -categories: [general, naming] +permalink: /:categories/:title/ +categories: [ naming] author: alex_zhukovich --- A name is an essential part of a test suite and each test scenario. When analyzing test reports, all you see are the names of the test cases. The right name of the test case provides information about the scenario, and often, it's enough information for understanding the main idea. diff --git a/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md b/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md similarity index 97% rename from _posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md rename to _articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md index 62873ee..ae57862 100644 --- a/_posts/2020-09-19-separate-your-tests-from-the-test-automation-framework.md +++ b/_articles/2020-09-19-separate-your-tests-from-the-test-automation-framework.md @@ -1,7 +1,9 @@ --- +layout: article title: 'Separate your tests from the test automation framework' description: 'We will explore reasons for separating test cases from the test automation framework.' -categories: [general, good-practices] +permalink: /:categories/:title/ +categories: [ good-practices] author: alex_zhukovich --- The testing framework has a significant impact on the test cases in a project because each framework has its own approach for handling similar situations and issues. Even if you are happy with the framework, chances are that you will change it in the future. diff --git a/_posts/2020-09-20-never-use-sleep-in-test-code.md b/_articles/2020-09-20-never-use-sleep-in-test-code.md similarity index 97% rename from _posts/2020-09-20-never-use-sleep-in-test-code.md rename to _articles/2020-09-20-never-use-sleep-in-test-code.md index bfd3791..d70b605 100644 --- a/_posts/2020-09-20-never-use-sleep-in-test-code.md +++ b/_articles/2020-09-20-never-use-sleep-in-test-code.md @@ -1,7 +1,9 @@ --- +layout: article title: 'Never use sleep in test code' description: 'We will explore approaches for replacing a sleep method in test cases.' -categories: [general, good-practices] +permalink: /:categories/:title/ +categories: [good-practices] author: alex_zhukovich --- Almost every application performs long-running operations, and automated UI test cases should wait until this operation is finished. Often we should wait in the following scenarios: @@ -26,4 +28,3 @@ Sometimes we can face a different approach, when we have to integrate a test fra As you can see, we have more efficient approaches for replacing `sleep` in the test code, and reduce execution time. I recommend you verify conditions multiple times and don't wait until the timeout is over. Note: Many frameworks already have such functions. - diff --git a/_articles/android-frameworks-appium.md b/_articles/android-frameworks-appium.md new file mode 100644 index 0000000..4ca6b78 --- /dev/null +++ b/_articles/android-frameworks-appium.md @@ -0,0 +1,10 @@ +--- +title: Appium +layout: article +permalink: /:categories/:title/ +categories: [ platform, android, frameworks, appium] +--- + +## Appium Philosophy + +Appium is built on the idea that testing native apps shouldn't require including an SDK or recompiling your app. And that you should be able to use your preferred test practices, frameworks, and tools. Appium is an open source project and has made design and tool decisions to encourage a vibrant contributing community. \ No newline at end of file diff --git a/_articles/nodes/ac_android-frameworks-appium.md b/_articles/nodes/ac_android-frameworks-appium.md new file mode 100644 index 0000000..6c45781 --- /dev/null +++ b/_articles/nodes/ac_android-frameworks-appium.md @@ -0,0 +1,7 @@ +--- +title: Appium +layout: node +icon: cog +permalink: /:categories/ +categories: [ platform, android, frameworks, appium] +--- diff --git a/_articles/nodes/ac_android-frameworks.md b/_articles/nodes/ac_android-frameworks.md new file mode 100644 index 0000000..ffe662d --- /dev/null +++ b/_articles/nodes/ac_android-frameworks.md @@ -0,0 +1,9 @@ +--- +title: Android Framework +description: Android frameworks, etc +icon: cog +layout: node +categories: [ platform, android, frameworks] +permalink: "/:categories/" +--- + diff --git a/_articles/nodes/ac_android-specific.md b/_articles/nodes/ac_android-specific.md new file mode 100644 index 0000000..f6dd8aa --- /dev/null +++ b/_articles/nodes/ac_android-specific.md @@ -0,0 +1,9 @@ +--- +title: Android Specific +layout: node +description: Android Specific, etc +icon: code +categories: [ platform, android, specific] +permalink: "/:categories/" +--- + diff --git a/_articles/nodes/ac_android.md b/_articles/nodes/ac_android.md new file mode 100644 index 0000000..54faa48 --- /dev/null +++ b/_articles/nodes/ac_android.md @@ -0,0 +1,9 @@ +--- +title: Android +layout: node +description: Android Specific, platform etc +icon: file-text +categories: [ platform, android] +permalink: "/:categories/" +--- + diff --git a/_articles/nodes/ac_good-practices.md b/_articles/nodes/ac_good-practices.md new file mode 100644 index 0000000..dad8cb4 --- /dev/null +++ b/_articles/nodes/ac_good-practices.md @@ -0,0 +1,9 @@ +--- +title: Good Practices +layout: node +description: Good practices which can be applied to UI testing. +icon: star +categories: [ good-practices] +permalink: "/:categories/" +--- + diff --git a/_articles/nodes/ac_naming.md b/_articles/nodes/ac_naming.md new file mode 100644 index 0000000..d2e99ef --- /dev/null +++ b/_articles/nodes/ac_naming.md @@ -0,0 +1,9 @@ +--- +title: Naming +layout: node +description: Naming conventions for test cases. +icon: bold +categories: [ naming] +permalink: "/:categories/" +--- + diff --git a/_articles/nodes/ac_platform.md b/_articles/nodes/ac_platform.md new file mode 100644 index 0000000..8fb5b9e --- /dev/null +++ b/_articles/nodes/ac_platform.md @@ -0,0 +1,9 @@ +--- +title: Platform +layout: node +description: Android WEB, etc +icon: code +categories: [ platform] +permalink: "/:categories/" +--- + diff --git a/_articles/nodes/ac_ui-testing.md b/_articles/nodes/ac_ui-testing.md new file mode 100644 index 0000000..128217e --- /dev/null +++ b/_articles/nodes/ac_ui-testing.md @@ -0,0 +1,9 @@ +--- +title: UI testing +layout: node +description: General topics connected with UI testing. +icon: file-text +categories: [ ui-testing] +permalink: "/:categories/" +--- + diff --git a/_articles/nodes/ac_web-frameworks.md b/_articles/nodes/ac_web-frameworks.md new file mode 100644 index 0000000..756cdb6 --- /dev/null +++ b/_articles/nodes/ac_web-frameworks.md @@ -0,0 +1,8 @@ +--- +title: WEB Frameworks +layout: node +description: WEB Specific, Frameworks, etc +icon: settings +categories: [ platform, web, frameworks] +permalink: "/:categories/" +--- diff --git a/_articles/nodes/ac_web-tools.md b/_articles/nodes/ac_web-tools.md new file mode 100644 index 0000000..0005a7e --- /dev/null +++ b/_articles/nodes/ac_web-tools.md @@ -0,0 +1,8 @@ +--- +title: WEB tools +description: Freelancers, businesses, and professionals all use a range of web tools and services to get their job done. The landscape changes every year, so today’ we’ve collected 45 varied and versatile choices to help you in your job. +layout: node +icon: settings +categories: [ platform, web, tools] +permalink: "/:categories/" +--- diff --git a/_articles/nodes/ac_web.md b/_articles/nodes/ac_web.md new file mode 100644 index 0000000..680039b --- /dev/null +++ b/_articles/nodes/ac_web.md @@ -0,0 +1,8 @@ +--- +title: WEB +layout: node +description: WEB tools, Frameworks, Specific, etc +icon: code +categories: [ platform, web] +permalink: "/:categories/" +--- diff --git a/categories/android-frameworks-compose-testing.md b/_articles/nodes/android-frameworks-compose-testing.md similarity index 62% rename from categories/android-frameworks-compose-testing.md rename to _articles/nodes/android-frameworks-compose-testing.md index 8815e15..cc7d2b3 100644 --- a/categories/android-frameworks-compose-testing.md +++ b/_articles/nodes/android-frameworks-compose-testing.md @@ -1,6 +1,6 @@ --- -layout: category -permalink: /platform/android/frameworks/compose-testing/ +layout: node +permalink: /:categories/:title/ pagination: enabled: true permalink: /:num/ @@ -11,5 +11,6 @@ pagination: - frameworks - compose-testing matching: all +categories: [ platform, android, frameworks, compose-testing] --- diff --git a/categories/android-frameworks-espresso.md b/_articles/nodes/android-frameworks-espresso.md similarity index 76% rename from categories/android-frameworks-espresso.md rename to _articles/nodes/android-frameworks-espresso.md index 29330f3..f19a70e 100644 --- a/categories/android-frameworks-espresso.md +++ b/_articles/nodes/android-frameworks-espresso.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/frameworks/espresso/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - espresso matching: all +categories: [ platform, android, frameworks, espresso] --- diff --git a/categories/android-frameworks-framework-comparison.md b/_articles/nodes/android-frameworks-framework-comparison.md similarity index 75% rename from categories/android-frameworks-framework-comparison.md rename to _articles/nodes/android-frameworks-framework-comparison.md index 705ff42..ba37e0b 100644 --- a/categories/android-frameworks-framework-comparison.md +++ b/_articles/nodes/android-frameworks-framework-comparison.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/frameworks/framework-comparison/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - framework-comparison matching: all +categories: [ platform, android, frameworks, framework-comparison] --- diff --git a/categories/android-frameworks-kakao.md b/_articles/nodes/android-frameworks-kakao.md similarity index 76% rename from categories/android-frameworks-kakao.md rename to _articles/nodes/android-frameworks-kakao.md index 9f4bf3a..bb7b041 100644 --- a/categories/android-frameworks-kakao.md +++ b/_articles/nodes/android-frameworks-kakao.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/frameworks/kakao/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - kakao matching: all +categories: [ platform, android, frameworks, kakao] --- diff --git a/categories/android-frameworks-kaspresso.md b/_articles/nodes/android-frameworks-kaspresso.md similarity index 76% rename from categories/android-frameworks-kaspresso.md rename to _articles/nodes/android-frameworks-kaspresso.md index 25a632a..9c606a8 100644 --- a/categories/android-frameworks-kaspresso.md +++ b/_articles/nodes/android-frameworks-kaspresso.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/frameworks/kaspresso/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - kaspresso matching: all +categories: [ platform, android, frameworks, kaspresso] --- diff --git a/categories/android-frameworks-kautomator.md b/_articles/nodes/android-frameworks-kautomator.md similarity index 76% rename from categories/android-frameworks-kautomator.md rename to _articles/nodes/android-frameworks-kautomator.md index df07bab..094a477 100644 --- a/categories/android-frameworks-kautomator.md +++ b/_articles/nodes/android-frameworks-kautomator.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/frameworks/kautomator/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - frameworks - kautomator matching: all +categories: [ platform, android, frameworks, kautomator] --- diff --git a/categories/android-frameworks-uiautomator.md b/_articles/nodes/android-frameworks-uiautomator.md similarity index 70% rename from categories/android-frameworks-uiautomator.md rename to _articles/nodes/android-frameworks-uiautomator.md index 096ccb0..da2500d 100644 --- a/categories/android-frameworks-uiautomator.md +++ b/_articles/nodes/android-frameworks-uiautomator.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/frameworks/uiautomator/ pagination: enabled: true @@ -10,6 +10,7 @@ pagination: - android - frameworks - uiautomator - matching: all + matching: all +categories: [ platform, android, frameworks, uiautomator] --- diff --git a/categories/android-specific-adb-commands.md b/_articles/nodes/android-specific-adb-commands.md similarity index 75% rename from categories/android-specific-adb-commands.md rename to _articles/nodes/android-specific-adb-commands.md index 03303d7..a9f1919 100644 --- a/categories/android-specific-adb-commands.md +++ b/_articles/nodes/android-specific-adb-commands.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/specific/adb-commands/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - adb-commands matching: all +categories: [ platform, android, frameworks, adb-commands] --- diff --git a/categories/android-specific-best-practices.md b/_articles/nodes/android-specific-best-practices.md similarity index 75% rename from categories/android-specific-best-practices.md rename to _articles/nodes/android-specific-best-practices.md index bf8d553..550702e 100644 --- a/categories/android-specific-best-practices.md +++ b/_articles/nodes/android-specific-best-practices.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/specific/best-practices/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - best-practices matching: all +categories: [ platform, android, frameworks, best-practices] --- diff --git a/categories/android-specific-dsl.md b/_articles/nodes/android-specific-dsl.md similarity index 77% rename from categories/android-specific-dsl.md rename to _articles/nodes/android-specific-dsl.md index 55ee50b..40c5665 100644 --- a/categories/android-specific-dsl.md +++ b/_articles/nodes/android-specific-dsl.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/specific/dsl/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - dsl matching: all +categories: [ platform, android, specific, dsl] --- diff --git a/categories/android-specific-installing-apk-to-device.md b/_articles/nodes/android-specific-installing-apk-to-device.md similarity index 75% rename from categories/android-specific-installing-apk-to-device.md rename to _articles/nodes/android-specific-installing-apk-to-device.md index 24f439a..1137d45 100644 --- a/categories/android-specific-installing-apk-to-device.md +++ b/_articles/nodes/android-specific-installing-apk-to-device.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/specific/installing-apk-to-device/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - installing-apk-to-device matching: all +categories: [ platform, android, specific, installing-apk-to-device] --- diff --git a/categories/android-specific-local-and-instrumentation-tests.md b/_articles/nodes/android-specific-local-and-instrumentation-tests.md similarity index 74% rename from categories/android-specific-local-and-instrumentation-tests.md rename to _articles/nodes/android-specific-local-and-instrumentation-tests.md index 5381331..74df2ea 100644 --- a/categories/android-specific-local-and-instrumentation-tests.md +++ b/_articles/nodes/android-specific-local-and-instrumentation-tests.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/specific/local-and-instrumentation-tests/ pagination: enabled: true @@ -11,5 +11,7 @@ pagination: - specific - local-and-instrumentation-tests matching: all +categories: [ platform, android, specific, local-and-instrumentation-tests] + --- diff --git a/categories/android-specific-tools.md b/_articles/nodes/android-specific-tools.md similarity index 77% rename from categories/android-specific-tools.md rename to _articles/nodes/android-specific-tools.md index c4e1a6d..6e3b18d 100644 --- a/categories/android-specific-tools.md +++ b/_articles/nodes/android-specific-tools.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /platform/android/specific/tools/ pagination: enabled: true @@ -11,5 +11,6 @@ pagination: - specific - tools matching: all +categories: [ platform, android, specific, tools] --- diff --git a/categories/basics.md b/_articles/nodes/basics.md similarity index 82% rename from categories/basics.md rename to _articles/nodes/basics.md index 0906b5a..e511cb6 100644 --- a/categories/basics.md +++ b/_articles/nodes/basics.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /setup/basics/ pagination: enabled: true @@ -9,7 +9,7 @@ pagination: - setup - basics matching: all +categories: [ setup, basics] # sort_field: 'title' # sort_reverse: false --- - diff --git a/categories/content.md b/_articles/nodes/content.md similarity index 78% rename from categories/content.md rename to _articles/nodes/content.md index 08ba00e..a1b294e 100644 --- a/categories/content.md +++ b/_articles/nodes/content.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /setup/content/ pagination: enabled: true @@ -9,5 +9,6 @@ pagination: - setup - content matching: all +categories: [ setup, content] --- diff --git a/categories/development.md b/_articles/nodes/development.md similarity index 76% rename from categories/development.md rename to _articles/nodes/development.md index 6477476..5325299 100644 --- a/categories/development.md +++ b/_articles/nodes/development.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /customization/development/ pagination: enabled: true @@ -9,5 +9,5 @@ pagination: - customization - development matching: all +categories: [ customization, development] --- - diff --git a/categories/features.md b/_articles/nodes/features.md similarity index 78% rename from categories/features.md rename to _articles/nodes/features.md index 861d05b..782b934 100644 --- a/categories/features.md +++ b/_articles/nodes/features.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /setup/features/ pagination: enabled: true @@ -9,5 +9,6 @@ pagination: - setup - features matching: all +categories: [ setup, features] --- diff --git a/categories/help.md b/_articles/nodes/help.md similarity index 77% rename from categories/help.md rename to _articles/nodes/help.md index e803252..22ef9cb 100644 --- a/categories/help.md +++ b/_articles/nodes/help.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /customization/help/ pagination: enabled: true @@ -9,4 +9,5 @@ pagination: - customization - help matching: all +categories: [ customization, help] --- \ No newline at end of file diff --git a/categories/translation.md b/_articles/nodes/translation.md similarity index 78% rename from categories/translation.md rename to _articles/nodes/translation.md index af195df..fa85d76 100644 --- a/categories/translation.md +++ b/_articles/nodes/translation.md @@ -1,5 +1,5 @@ --- -layout: category +layout: node permalink: /setup/translation/ pagination: enabled: true @@ -9,5 +9,6 @@ pagination: - setup - translation matching: all +categories: [ setup, translation] --- diff --git a/_articles/nodes/web-frameworks-new.md b/_articles/nodes/web-frameworks-new.md new file mode 100644 index 0000000..44202f6 --- /dev/null +++ b/_articles/nodes/web-frameworks-new.md @@ -0,0 +1,19 @@ +--- +title: Express +layout: node +permalink: /platform/web/frameworks/express/ +pagination: + enabled: true + permalink: /:num/ + categories: + values: + - platform + - web + - tools + - workbox + matching: all +categories: [ platform, web, frameworks, express] +--- + +Frameworks have become an essential part of web development, as the standards of web applications are always rising, so does the complexity of the technology needed. It’s completely unreasonable to reinvent the wheel for such sophisticated techniques -assuming that you can reinvent all that. That’s why using frameworks endorsed by thousands of developers around the world is a very sensible approach for building rich and interactive web applications. A web app has a backend (server-side) and a frontend (client-side), so we discuss both best Backend frameworks as well as frontend frameworks. Here goes the list of best web development frameworks in 2020: + diff --git a/_articles/nodes/web-tools-new.md b/_articles/nodes/web-tools-new.md new file mode 100644 index 0000000..39804c6 --- /dev/null +++ b/_articles/nodes/web-tools-new.md @@ -0,0 +1,18 @@ +--- +title: Workbox +layout: node +permalink: /platform/web/tools/workbox/ +pagination: + enabled: true + permalink: /:num/ + categories: + values: + - platform + - web + - tools + - workbox + matching: all +categories: [ platform, web, tools, workbox] +--- + +Workbox is a set of service worker libraries and tools that make it easy to build an offline PWA and take advantage of the service worker APIs. \ No newline at end of file diff --git a/_config.yml b/_config.yml index ee4cb02..58f74c8 100644 --- a/_config.yml +++ b/_config.yml @@ -10,13 +10,13 @@ description: UI Testing related content lang: en # Site subpath, e.g. /blog -baseurl: "" +baseurl: # Permalink URLs structure, for permalink style options see: https://jekyllrb.com/docs/permalinks/ permalink: /:categories/:title/ # Site base hostname & protocol, e.g. http://example.com -url: "https://ui-testing.academy" +url: # Site logo # e.g. logo.png, upload logo image file to /uploads/ folder logo: logo.svg @@ -88,23 +88,25 @@ disqus: google_analytics: # Pagination Settings -pagination: - enabled: true - per_page: 10 +# pagination: +# enabled: true +# per_page: 6 # permalink: '/page/:num/' # title_suffix: ' - page :num' # limit: 0 # sort_field: 'date' # sort_reverse: true + + # Path to post content assets directory i.e post images, pdfs etc uploads: /uploads/ # Build settings markdown: kramdown highlighter: rouge - -gems: +node_grid: true +plugins: - jekyll-feed - jekyll-seo-tag - jekyll-gist @@ -123,6 +125,9 @@ collections: output: false changelogs: output: false + articles: + output: true + layout: article # Defaults defaults: diff --git a/_data/home_categories.yml b/_data/home_categories.yml index 3f630af..726a402 100644 --- a/_data/home_categories.yml +++ b/_data/home_categories.yml @@ -4,26 +4,31 @@ category: general categories: - - permalink: /general/ui-testing/ + - permalink: /ui-testing/ title: UI testing desc: General topics connected with UI testing. icon: file-text - - permalink: /general/naming/ + - permalink: /naming/ title: Naming desc: Naming conventions for test cases. icon: bold -# - permalink: /general/dsl/ +# - permalink: /dsl/ # title: Domain Specific Language # desc: Description for "Domain Specific Language (DSL)" # icon: album - - permalink: /general/good-practices/ + - permalink: /good-practices/ title: Good Practices desc: Good practices which can be applied to UI testing. icon: star + - permalink: /platform/ + title: Platforms + desc: Web, Android, etc. + icon: cog + # - title: Platforms # subtitle: # category: platform diff --git a/_faqs/bug-repost-propose-improvement-request-topic.md b/_faqs/bug-repost-propose-improvement-request-topic.md index 1343e6b..9f86151 100644 --- a/_faqs/bug-repost-propose-improvement-request-topic.md +++ b/_faqs/bug-repost-propose-improvement-request-topic.md @@ -1,6 +1,6 @@ --- title: How to send a bug report/improvement proposal/request a topic? -categories: [faq] +categories: [ faq] --- We want to grow and improve the project. If you found any issue in our project and you know how to improve the project, or you want to see more topic, please share your feedback with us via [GitHub issues](https://github.com/AlexZhukovich/ui-testing.academy/issues/){:target="_blank"} or [Contact form](/contact/). \ No newline at end of file diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html new file mode 100644 index 0000000..82d76d4 --- /dev/null +++ b/_includes/breadcrumbs.html @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/_includes/paginate_article.html b/_includes/paginate_article.html new file mode 100644 index 0000000..cb1bfba --- /dev/null +++ b/_includes/paginate_article.html @@ -0,0 +1,33 @@ +{% assign items = site.articles | where: 'layout', 'article' %} + +{% if items.size > 1 %} +{% for item in items %} +{% if item.title == page.title %} +{% assign item_index = forloop.index %} +{% endif %} +{% endfor %} + +{% assign prev_index = item_index | plus: 1 %} +{% assign next_index = item_index | minus: 1 %} + +{% for item in items %} +{% if forloop.index == prev_index %} +{% assign prev = item %} +{% endif %} +{% if forloop.index == next_index %} +{% assign next = item %} +{% endif %} +{% endfor %} + +

+ {% if prev %} + + {% endif %} + {% if prev and next %} + | + {% endif %} + {% if next %} + + {% endif %} +

+{% endif %} \ No newline at end of file diff --git a/_includes/related-articles.html b/_includes/related-articles.html new file mode 100644 index 0000000..e3d87f7 --- /dev/null +++ b/_includes/related-articles.html @@ -0,0 +1,39 @@ + + diff --git a/_layouts/article.html b/_layouts/article.html new file mode 100644 index 0000000..dc0ed0a --- /dev/null +++ b/_layouts/article.html @@ -0,0 +1,39 @@ +--- +layout: default +--- + +
+
+ {%- include breadcrumbs.html -%} +
+
+
+

{{ page.title | escape }}

+ + {% if page.subtitle %} +

{{ page.subtitle }}

+ {% endif %} +
+ {{ content }} + {% if site.share.post %} + {% include share.html %} + {% endif %} +
+ {% include related-articles.html %} + {% if site.disqus.shortname %} + {% include disqus_comments.html %} + {% endif %} +
+ +
+
+
+
diff --git a/_layouts/category.html b/_layouts/category.html index 44fa48d..e290e10 100644 --- a/_layouts/category.html +++ b/_layouts/category.html @@ -4,7 +4,7 @@
- {% for section in site.data.home_categories %} + {% for section in site.articles %} {% for item in section.categories %} {% if page.url contains item.permalink %} {% assign current_category = item %} diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 0000000..9e5bb54 --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,70 @@ +--- +layout: default +--- + +
+
+ + {%- if page.header.list_title -%} +

{{page.header.list_title}}

+ {%- else -%} + {%- include breadcrumbs.html -%} + +

{{page.title}}

+

{{page.description}}

+ {%- endif -%} + + {% assign articles = site.articles %} + {% assign i = page.categories.size | minus: 1 %} + +
+ + {% for p in articles %} + + {% assign k1 = p.categories.size %} + {%- if p.layout == "node" -%} + {% assign k2 =i | plus: 2 %} + {%- else -%} + {% assign k2 =i | plus: 1 %} + {%- endif -%} + + {% if k1 == k2 %} + {%- assign s1 = "" -%} + {%- for l in (0..i) -%} + {%- assign s1 = s1 | append: p.categories[l] -%} + {%- endfor -%} + + {%- assign s2 = page.categories | join: "" -%} + {% if s1 == s2 %} + +
+
+ +
+
+ + + + +
+
+

{{p.title}}

+ +

{{p.description}}

+ +
+
+
+
+ + {% endif %} + + {% endif %} + + {% endfor %} +
+
+
+ + {{content}} diff --git a/_layouts/node.html b/_layouts/node.html new file mode 100644 index 0000000..4da9e51 --- /dev/null +++ b/_layouts/node.html @@ -0,0 +1,103 @@ +--- +layout: default +--- + +
+
+ + {%- if page.header.list_title -%} +

{{page.header.list_title}}

+ {%- else -%} + {%- include breadcrumbs.html -%} + +
+ +
+ + + + + + +
+ +
+

{{page.title}}

+

{{page.description}}

+
+
+ + {%- endif -%} + + {% assign articles = site.articles %} + {% assign i = page.categories.size | minus: 1 %} + +
+ + {% for p in articles %} + + {% assign k1 = p.categories.size %} + {%- if p.layout == "node" -%} + {% assign k2 =i | plus: 2 %} + {%- else -%} + {% assign k2 =i | plus: 1 %} + {%- endif -%} + + {% if k1 == k2 %} + {%- assign s1 = "" -%} + {%- for l in (0..i) -%} + {%- assign s1 = s1 | append: p.categories[l] -%} + {%- endfor -%} + + {%- assign s2 = page.categories | join: "" -%} + {% if s1 == s2 %} + +
+ +
+ +
+
+ {%- if p.icon -%} + + + {%- endif -%} +
+
+

{{p.title}}

+

{{p.description}}

+ {%- if p.author -%} + {%- assign author = p.author -%} + {%- assign a = site.authors[author] -%} + + + {%- endif -%} +
+
+
+
+ + {% endif %} + + {% endif %} + + {% endfor %} +
+ + {{content}} + +
+
\ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index 180e2d9..0571214 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,25 +4,7 @@
- {% for section in site.data.home_categories %} - {% for item in section.categories %} - {% if page.url contains item.permalink %} - - {% break %} - {% endif %} - {% endfor %} - {% endfor %} + {%- include breadcrumbs.html -%}
diff --git a/categories/android-frameworks-appium.md b/categories/android-frameworks-appium.md deleted file mode 100644 index 62699dc..0000000 --- a/categories/android-frameworks-appium.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: category -permalink: /platform/android/frameworks/appium/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - platform - - android - - frameworks - - appium - matching: all ---- - diff --git a/categories/android-frameworks-barista.md b/categories/android-frameworks-barista.md deleted file mode 100644 index f03c8e8..0000000 --- a/categories/android-frameworks-barista.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: category -permalink: /platform/android/frameworks/barista/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - platform - - android - - frameworks - - barista - matching: all ---- - diff --git a/categories/android-frameworks.md b/categories/android-frameworks.md deleted file mode 100644 index ab3a6c5..0000000 --- a/categories/android-frameworks.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: category -permalink: /android/frameworks/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - android - - frameworks - matching: all ---- - diff --git a/categories/android-specific.md b/categories/android-specific.md deleted file mode 100644 index 8b182f3..0000000 --- a/categories/android-specific.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: category -permalink: /platform/android/specific/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - platform - - android - - specific - matching: all ---- - diff --git a/categories/general-good-practices.md b/categories/general-good-practices.md deleted file mode 100644 index 3eb8634..0000000 --- a/categories/general-good-practices.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: category -permalink: /general/good-practices/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - general - - good-practices - matching: all ---- - diff --git a/categories/general-naming.md b/categories/general-naming.md deleted file mode 100644 index e75e3b1..0000000 --- a/categories/general-naming.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: category -permalink: /general/naming/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - general - - naming - matching: all ---- - diff --git a/categories/general-ui-testing.md b/categories/general-ui-testing.md deleted file mode 100644 index 16a4b1d..0000000 --- a/categories/general-ui-testing.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: category -permalink: /general/ui-testing/ -pagination: - enabled: true - permalink: /:num/ - categories: - values: - - general - - ui-testing - matching: all ---- - diff --git a/index.markdown b/index.markdown deleted file mode 100644 index 0671507..0000000 --- a/index.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -# Feel free to add content and custom Front Matter to this file. -# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults - -layout: home ---- diff --git a/index.md b/index.md index 1a199ef..69c69e2 100644 --- a/index.md +++ b/index.md @@ -5,15 +5,14 @@ header: # background: "rgba(0, 0, 0, 0.5)" # color: light title: Here you learn more about UI testing - subtitle: - # search: true + subtitle: + list_title: General information +description: Android frameworks, WEB, Naming, etc +icon: +layout: home +categories: [] --- -{% include categories.html - columns="3" - section="muted" -%} - {% include faqs.html multiple="true" title="Frequently asked questions" diff --git a/platform/android.md b/platform/android.md deleted file mode 100644 index e36109c..0000000 --- a/platform/android.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -width: expand -header: - # image: header.jpg - # background: "rgba(0, 0, 0, 0.5)" - # color: light - title: How can we help you? - subtitle: - # search: true ---- - -{% include android_categories.html - columns="3" - section="muted" -%} - diff --git a/search.json b/search.json index 3abfb1b..d94d7b6 100644 --- a/search.json +++ b/search.json @@ -2,7 +2,7 @@ layout: null --- [ - {% for post in site.posts %} + {% for post in site.articles %} { "title" : "{{ post.title | escape }}", "category" : "{{ post.category }}",