kiwi-tcms

tcms-api 5.3 package incompatible with Windows

假如想象 提交于 2021-02-11 15:44:01
问题 I attempted to upgrade my tcms-api library from 5.0 to 5.3 using: pip install tcms-api --upgrade on a Windows 10 machine, I saw a lot of errors when trying to install the dependent package of kerberos. Even though this is old, I saw a similar set of errors. The package installation failed since the kerberos package isn't supported on Windows and I was left at tcms-api 5.0. 回答1: Please file a bug against https://github.com/kiwitcms/tcms-api. We can do a quick fix by providing 2 package names:

Missing 'Default Components' tab in test plan

不打扰是莪最后的温柔 提交于 2021-01-29 19:10:05
问题 New to Kiwi TCMS and running through tutorial. In https://kiwitcms.readthedocs.io/en/latest/guide/testplan.html#default-components, it explains a 'Default Components' tab in test plan. Problem is, the tab is missing in our Kiwi setup. Cannot find related steps in documentation about this either. Is there a setting/process not discussed in documentation to enable it? 回答1: It was removed in: https://github.com/kiwitcms/Kiwi/commit/09321236ee2ecbdfc2d001a0e1e28b0504c30171 Remove TestPlan

How to upload a database on Kiwi TCMS from json file?

試著忘記壹切 提交于 2021-01-29 15:57:24
问题 I have kiwi TCMS on docker through docker-compose.yml. And i have file json with database (old version of kiwi) To dump database from old serwer i use: docker exec -it kiwi_web /Kiwi/manage.py dumpdata --all --indent 2 > database.json . In new kiwi TCMS i want use my old database, but after enter this command docker exec -it kiwi_web /bin/bash -c '/Kiwi/manage.py sqlflush | /Kiwi/manage.py dbshell' i get: CommandError: You appear not to have the 'mysql' program installed or on your path.

Kiwi-tcms v8.0 database migration problem with test runs

大兔子大兔子 提交于 2020-07-10 08:56:51
问题 I just migrated Kiwi tcms from v7.1 on a server A to v8.0 on a server B (I virtualized our application server). I use a pgsql container for the db. For the migration I used the backup-restore method. The db volume on server B is brand new and I created the schema using /Kiwi/manage.py migrate Then I restored the .json. But I ran into schema problem because of the changes in v8.0 of the primary key. I just replaced in the json file the old names by the new one and the restoration passed. The

Launch remote process for automated test using Kiwi tcms

让人想犯罪 __ 提交于 2020-01-14 03:12:49
问题 Is it possible to have a kiwi-tcms test case launch an executable on a remote server in order to execute the test case and if so how could that be done ? 回答1: Short answer - NO! Long answer: what you are looking for is some kind of test runner or CI system - that will connect to a remote computer (or use an API directly) and launch automated test cases based on some parameters. This brings up so many questions I can't even list all of them here but some of the most important ones: who/where

*SOLVED* Kiwi TCMS under Docker windows issues

时光总嘲笑我的痴心妄想 提交于 2019-12-25 02:58:29
问题 Below are my configuration: Docker version 18.09.2, build 6247962 Host OS: Win 10 Pro I am evaluating this tool for my personal use. But the problem is that some of my standard port are already in use either by IIS/System on host. I was able to get the kiwi docker image and also clone the GIT repo. Since the standard ports are already in use, i changed the docker-compose.yml file as shown below: ports: - 90:8080 - 1443:8443 Now the docker container kiwi_web is up and running successfully on

Export testcases from KIWI TCMS by python script does not work

南笙酒味 提交于 2019-12-24 18:26:13
问题 I have script for export some Testcases from KIWI TCMS system. Problem is, that script does not work. Script does not return anything. And second questions. What does it mean this: {'pk': 46490} Is it some filtr? --------------------------------------- from tcms_api import TCMS rpc_client = TCMS() for test_case in rpc_client.exec.TestCase.filter({'pk': 46490}): print(test_case) -------------------------------------- 来源: https://stackoverflow.com/questions/56848500/export-testcases-from-kiwi

An issue with Kiwi TCMS

我的未来我决定 提交于 2019-12-24 09:24:54
问题 I am trying to use Kiwi TCMS RPC API (project page) with the newest version installed (3.49) and it fails miserably as below even though I follow the API documentation. I wonder if there is someone that could point me in the right direction. File "api_test.py", line 18, in <module> print(testplan.author) File "/usr/local/lib/python3.4/dist-packages/tcms_api/base.py", line 63, in getter self._fetch() File "/usr/local/lib/python3.4/dist-packages/tcms_api/mutable.py", line 273, in _fetch inject

Kiwi Tcms Windows Installation and Configuration without docker

人走茶凉 提交于 2019-12-13 04:07:19
问题 I want to run Kiwi tcms on my windows, but i'm unable. I've followed instructions on this that is for linux based, but i managed to run these on my windows, except npm install patternfly as I can't find patterfly, but installed npm only. There's another question I've asked where I'm stuck, so If I did anything wrong, please guide me so I can do it from the start. Help would be greatly appreciated. 回答1: Look for a guide how to deploy Django applications on Windows. We don't really use Windows

django.db.migrations.exceptions.InconsistentMigrationHistory error as part of 6.0.1 to 6.1 upgrade

戏子无情 提交于 2019-12-11 19:06:42
问题 Environment: running Kiwi in docker containers from Docker repository on Windows Server 2016. I have not made changes to my clone of the Kiwi repo or the docker images. Repro: 1. Follow upgrade steps on blog to upgrade/migrate from Kiwi 6.0 to 6.0.1 2. Repeat steps to upgrade/migrate from Kiwi 6.0.1 to 6.1 Expect: No errors Result: Exception during migration, I clicked around my Kiwi instance after running the migrate command and didn't see anything obviously wrong with the data or