[TOC]
- Навчитись аналізувати і систематизувати функціональність додатків на старті побудови тестування
- Приорітизувати функціональність з точки зору важливості для користувача
| MIT License | |
| Copyright (c) 2025 Iakiv Kramarenko | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| class Cell: | |
| def __init__(self, element: Element): | |
| self.element = element | |
| self.input = self.element.element('input') | |
| def start_editing(self): | |
| self.element.double_click() | |
| return self | |
| def set(self, value): |
| import types | |
| from functools import wraps | |
| def humanify(name: str): | |
| import re | |
| return ' '.join(re.split('_+', name)) | |
| def step(fn): |
| // виходить тут як раз воно не вилазить | |
| function processResponse({response, ...rest}: {response: object} & {[key: string]: any}): {response: object;} & {[key: string]: any} { | |
| // do something with response | |
| return {response, ...rest} | |
| } | |
| // вилазити починає саме коли з'являється обмження що саме конкретно той тип А що зайшов на вхід то той і має вийти на виході... | |
| function processResponse_<A>({response, ...rest}: {response: object} & A): {response: object;} & A { | |
| // do something with response |
| """ | |
| можно передавать лямбды вместо кондишенов в Selene | |
| но в лямбдах-кондишенах для Selene | |
| нужно возвращать не тру/фолс, а просто кидать еррор если было фолс | |
| например | |
| """ |
Зустрів тут питання на теренах ком’юніті – «курси для просунутих автоматизаторів? ну так щоб швидко в’їхати в тему, якщо в іншій вже шариш...»
Дуже круто знати підбірку таких курсів, ага :) Я от не знаю... Якщо у кого є що порадити – кидайте посилання в коменти;)
Мова йде про ресурси типу:
| import re | |
| import inspect | |
| from functools import wraps | |
| from allure_commons import plugin_manager | |
| from allure_commons.utils import uuid4, func_parameters, represent | |
| def step(title, display_params=True): | |
| if callable(title): |
| using OpenQA.Selenium; | |
| using static NSelene.Selene; | |
| using NSelene; | |
| using OpenQA.Selenium.Interactions; | |
| using System; | |
| using NSelene.Conditions; | |
| namespace Bills.Tests.Core | |
| { | |
| public static class SeleneElementExtensions |
| using OpenQA.Selenium; | |
| using static NSelene.Selene; | |
| using NSelene; | |
| using OpenQA.Selenium.Interactions; | |
| using System; | |
| using NSelene.Conditions; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| namespace Bills.Tests.Core |